Previous Topic Index Next Topic
[API function]

FSOUND_SetOutput

Sets up the soundsystem output type. This means if it uses DirectSound(tm), or Windows(tm)
Multimedia waveout etc.

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.

See Also

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

This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:09 2001 by SourceDoc v0.10, the automated source code documenter.