Firelight Technologies FMOD Studio API
Moves the sound from its existing SoundGroup to the specified sound group.
FMOD_RESULT Sound::setSoundGroup(
FMOD::SoundGroup *soundgroup
);
FMOD_RESULT FMOD_Sound_SetSoundGroup(
FMOD_SOUND *sound,
FMOD_SOUNDGROUP *soundgroup
);
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
By default a sound is located in the 'master sound group'. This can be retrieved with System::getMasterSoundGroup.
Putting a sound in a sound group (or just using the master sound group) allows for functionality like limiting a group of sounds to a certain number of playbacks (see SoundGroup::setMaxAudible).
Version 1.03.06 Built on Apr 17, 2014