Sets the wet (reverb) / dry (no reverb) mix ratio on a sample, stream, or MOD music channel with 3D functionality.
BOOL WINAPI BASS_ChannelSetEAXMix( |
Parameters
handle | The channel handle... a HCHANNEL, HMUSIC, HSTREAM. |
mix | The wet / dry ratio... 0.0 = reverb off - 1.0 = max reverb, -1.0 = let EAX calculate the reverb mix based on the distance (the default). |
Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is not a valid channel. |
BASS_ERROR_NOEAX | The channel does not have EAX support. EAX is only applied to 3D channels that are mixed by the hardware, you can check if a channel is being mixed by the hardware with BASS_ChannelGetFlags. |
Remarks
Obviously, EAX functions have no effect if no EAX supporting device (ie. SB Live) is used. You can use BASS_GetInfo to check if the current device suports EAX. EAX only affects 3D channels, but EAX functions do NOT require BASS_Apply3D to apply the changes.
See also
BASS_ChannelGetEAXMix, BASS_SetEAXParameters