C4 Engine Terathon Software C4 Engine API Documentation

• Sound Manager

API Links
Developer Links

SoundMgr::SetDefaultSoundGroup

Defined in:  C4Sound.h
Returns the default sound group.
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::Load function is called.
See Also

SoundMgr::GetDefaultSoundGroup

SoundMgr::RegisterSoundGroup

SoundMgr::GetFirstSoundGroup

SoundMgr::FindSoundGroup

SoundGroup