Firelight Technologies FMOD Studio API
These values are used with SoundGroup::setMaxAudibleBehavior to determine what happens when more sounds are played than are specified with SoundGroup::setMaxAudible.
typedef enum {
FMOD_SOUNDGROUP_BEHAVIOR_FAIL,
FMOD_SOUNDGROUP_BEHAVIOR_MUTE,
FMOD_SOUNDGROUP_BEHAVIOR_STEALLOWEST,
FMOD_SOUNDGROUP_BEHAVIOR_MAX
} FMOD_SOUNDGROUP_BEHAVIOR;
FMOD_SOUNDGROUP_BEHAVIOR_FAIL
Any sound played that puts the sound count over the SoundGroup::setMaxAudible setting, will simply fail during System::playSound.
FMOD_SOUNDGROUP_BEHAVIOR_MUTE
Any sound played that puts the sound count over the SoundGroup::setMaxAudible setting, will be silent, then if another sound in the group stops the sound that was silent before becomes audible again.
FMOD_SOUNDGROUP_BEHAVIOR_STEALLOWEST
Any sound played that puts the sound count over the SoundGroup::setMaxAudible setting, will steal the quietest / least important sound playing in the group.
FMOD_SOUNDGROUP_BEHAVIOR_MAX
Maximum number of sound group behaviors.
When using FMOD_SOUNDGROUP_BEHAVIOR_MUTE, SoundGroup::setMuteFadeSpeed can be used to stop a sudden transition. Instead, the time specified will be used to cross fade between the sounds that go silent and the ones that become audible.
Version 1.03.06 Built on Apr 17, 2014