Firelight Technologies FMOD Studio API

Sound::getNumSubSounds

Retrieves the number of subsounds stored within a sound.

C++ Syntax

FMOD_RESULT Sound::getNumSubSounds(
  int *numsubsounds
);

C Syntax

FMOD_RESULT FMOD_Sound_GetNumSubSounds(
  FMOD_SOUND *sound,
  int *numsubsounds
);

Parameters

numsubsounds
Address of a variable that receives the number of subsounds stored within this sound.

Return Values

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.

Remarks

A format that has subsounds is usually a container format, such as FSB, DLS, MOD, S3M, XM, IT.

See Also




Version 1.03.06 Built on Apr 17, 2014