SoundMgr::SetDefaultSoundGroup
Defined in:
Returns the default sound group.
C4Sound.h
Prototype
void SetDefaultSoundGroup(SoundGroup *group);
Parameters
group |
A pointer to the new default sound group. This can be nullptr .
|
Description
The SetDefaultSoundGroup
function sets the default sound group to the group specified by the group
parameter. If nullptr
is specified, then there is no default sound group. When a default sound group exists, each sound is automatically added to that group when the Sound::LoadSound
function is called.
See Also