Gorilla.Audio.FMOD.Intf.SoundGroup
Unit Gorilla.Audio.FMOD.Intf.SoundGroup.pasInterfaces
- interface IGorillaFMODSoundGroup
IGorillaFMODSoundGroup
Wrapper record structure for sound group instances.
Methods
Stops all sounds within this soundgroup.
Retrieves a pointer to a sound from within a sound group.
Parameters
- AIndex : Integer - Index of the sound that is to be retrieved.
Properties
Limits the number of concurrent playbacks of sounds in a sound group to the specified value. After this, if the sounds in the sound group are playing this many times, any attepts to play more of the sounds in the sound group will by default fail with FMOD_ERR_MAXAUDIBLE. Use SoundGroup::setMaxAudibleBehavior to change the way the sound playback behaves when too many sounds are playing. Muting, failing and stealing behaviors can be specified.
read GetMaxAudiblewrite SetMaxAudible
Changes the way the sound playback behaves when too many sounds are playing in a soundgroup. Muting, failing and stealing behaviors can be specified.
read GetMaxAudibleBehaviorwrite SetMaxAudibleBehavior
Specify a time in seconds for FMOD_SOUNDGROUP_BEHAVIOR_MUTE behavior to fade with. By default there is no fade. When more sounds are playing in a SoundGroup than are specified with SoundGroup::setMaxAudible, the least important sound (ie lowest priority / lowest audible volume due to 3D position, volume etc) will fade to silence if FMOD_SOUNDGROUP_BEHAVIOR_MUTE is used, and any previous sounds that were silent because of this rule will fade in if they are more important.
read GetMuteFadeSpeedwrite SetMuteFadeSpeed
The volume for a sound group, affecting all channels playing the sounds in this soundgroup.
read GetVolumewrite SetVolume
Sets a user value that the SoundGroup object will store internally. Can be retrieved with SoundGroup::getUserData.
read GetUserDatawrite SetUserData