Previous Topic Index Next Topic
[API function]

FSOUND_FX_Enable

Enables or disables effect processing for specified effects when the sound is triggered.
Note that this does not work while the sound is playing.

signed char F_API FSOUND_FX_Enable(
int channel,
unsigned int fx
);

Parameters

channel Channel number/handle to enable/disable fx for.
fx Bitwise OR together fx flags to enable and disable certain effects. (The exclusion of effects will disable them if they are not specified)

Return Value

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

Remarks

If an effect is not enabled, then it will not be affected by its corresponding FSOUND_FX_Set functions.
Disable effects to possibly reduce cpu overhead.

See Also

FSOUND_FX_MODES , FSOUND_FX_SetChorus , FSOUND_FX_SetCompressor , FSOUND_FX_SetDistortion , FSOUND_FX_SetEcho , FSOUND_FX_SetFlanger , FSOUND_FX_SetGargle , FSOUND_FX_SetI3DL2Reverb , FSOUND_FX_SetParamEQ , FSOUND_FX_SetWavesReverb

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.