Previous Topic Index Next Topic
[API function]

FSOUND_SetOutput

Sets up the soundsystem output mode.

signed char F_API FSOUND_SetOutput(
int outputtype
);

Parameters

outputtype The output system to be used. See FSOUND_OUTPUTTYPES for valid parameters and descriptions. -1 Is autodetect based on operating system.

Return Value

On success, TRUE is returned.
On failure, (ie if FMOD is already active) FALSE is returned.

Remarks

This function cannot be called after FMOD is already activated with FSOUND_Init.
It must be called before FSOUND_Init, or after FSOUND_Close.
-------
Under Windows NT - Waveout is FASTER than DirectSound, achieves LOWER latency, AND
is LESS buggy. DirectSound under NT is achieved by emulating waveout, and therefore is
inferior to waveout. Use WAVEOUT under NT.
Under Windows 9x and W2K - DirectSound is faster than waveout and can achieve lower latency.
Use DIRECTSOUND under Win9x and W2K.
-------
If you dont call FSOUND_SetOutput, FMOD will now autodetect DSOUND or WINMM based on the operating system.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

See Also

FSOUND_Close , FSOUND_GetDriverCaps , FSOUND_GetOutput , FSOUND_GetOutputHandle , FSOUND_Init , FSOUND_OUTPUTTYPES , FSOUND_SetDriver , FSOUND_SetOutput

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:33 2005 by SourceDoc v0.10, the automated source code documenter.