BASS_ChannelSetFX
Sets up a DSP effect on a stream, MOD music, or recording channel.
HFX BASS_ChannelSetFX( |
Parameters
handle | The channel handle... a HSTREAM, HMUSIC, or HRECORD | |||||||||||||||||||||||||||||||||||||||||||||
type | One of the following types of effect:
| |||||||||||||||||||||||||||||||||||||||||||||
priority | The priority of the new DSP, which determines its position in the DSP chain. DSPs with higher priority are called before those with lower priority | |||||||||||||||||||||||||||||||||||||||||||||
Return value
If successful, then the new effect's handle is returned,
else 0 is returned. Use BASS_ErrorGetCode to get the error code.
Error codes type is invalid. Note BASS_FX must be loaded
before these effects can be used (call BASS_FX_GetVersion
on project
load). The selected effect could be applied only
on stereo or mono handle
BASS_ERROR_HANDLE handle is not a valid
channel BASS_ERROR_ILLTYPE
BASS_ERROR_FORMAT
BASS_ChannelRemoveFX, BASS_FXSetParameters, BASS_FXGetParameters, BASS_FXReset