Firelight Technologies FMOD Studio API

Sound::getMusicNumChannels

Gets the number of music channels inside a MOD/S3M/XM/IT/MIDI file.

C++ Syntax

FMOD_RESULT Sound::getMusicNumChannels(
  int *numchannels
);

C Syntax

FMOD_RESULT FMOD_Sound_GetMusicNumChannels(
  FMOD_SOUND *sound,
  int *numchannels
);

Parameters

numchannels
Number of music channels used in the song.

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.

See Also




Version 1.03.06 Built on Apr 17, 2014