Previous Topic Index Next Topic
[API function]

FSOUND_SetSurround

Sets a channels surround sound status. This surround sound is a fake dolby trick that
effectively pans the channel to the center, but inverts the waveform in one speaker to
make it sound fuller or spacier, or like it is coming out of space between the 2 speakers.
Panning is ignored while surround is in effect.

signed char F_API FSOUND_SetSurround(
int channel,
signed char surround
);

Parameters

channel The channel number/handle to change the surround for. FSOUND_ALL can also be used (see remarks).
surround Toggle value - TRUE enables surround sound on the channel, FALSE disables it.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

FSOUND_ALL is supported. Passing this will set the surround sound mode of ALL channels available.
If FSOUND_ALL is used the last channel success flag will be returned. This return value is not useful in most circumstances.
---------
Note this only works on software channels.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation2, GameCube

See Also

FSOUND_GetSurround

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