Firelight Technologies FMOD Studio API

System::setOutput

This function selects the output mode for the platform. This is for selecting different OS specific APIs which might have different features.

C++ Syntax

FMOD_RESULT System::setOutput(
  FMOD_OUTPUTTYPE output
);

C Syntax

FMOD_RESULT FMOD_System_SetOutput(
  FMOD_SYSTEM *system,
  FMOD_OUTPUTTYPE output
);

Parameters

output
Output type to select. See FMOD_OUTPUTTYPE for different output types you can select.

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

This function is not necessary to call. It is only if you want to specifically switch away from the default output mode for the operating system. The most optimal mode is selected by default for the operating system.

This function cannot be called after FMOD is already activated, it must be called before System::init, or after System::close.

See Also




Version 1.03.06 Built on Apr 17, 2014