Firelight Technologies FMOD Studio API

System::getSoftwareFormat

Retrieves the output format for the software mixer.

C++ Syntax

FMOD_RESULT System::getSoftwareFormat(
  int *samplerate,
  FMOD_SPEAKERMODE *speakermode,
  int *numrawspeakers
);

C Syntax

FMOD_RESULT FMOD_System_GetSoftwareFormat(
  FMOD_SYSTEM *system,
  int *samplerate,
  FMOD_SPEAKERMODE *speakermode,
  int *numrawspeakers
);

Parameters

samplerate
Address of a variable that receives the sample rate of the mixer. Optional. Specify 0 or NULL to ignore.
speakermode
Address of a variable that receives the speaker setup of the mixer. Optional. Specify 0 or NULL to ignore.
numrawspeakers
Address of a variable that receives the number of speakers for FMOD_SPEAKERMODE_RAW mode. Optional. Specify 0 or NULL to ignore.

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

Note that the settings returned here may differ from the settings provided by the user with System::setSoftwareFormat. This is because the driver may require certain settings to initialize.

See Also




Version 1.03.06 Built on Apr 17, 2014