BASS

BASS_ATTRIB_EAXMIX attribute


The wet (reverb) / dry (no reverb) mix ratio of a channel.

BASS_ChannelSetAttribute(
    DWORD handle,
    BASS_ATTRIB_EAXMIX,
    float mix
);

Parameters

handleThe channel handle... a HCHANNEL, HMUSIC, HSTREAM.
mixThe wet / dry ratio... 0 (full dry) to 1 (full wet), -1 = automatically calculate the mix based on the distance (the default).

Additional error codes

BASS_ERROR_NOEAXThe channel does not have EAX support. EAX only applies to 3D channels that are mixed by the hardware/drivers. BASS_ChannelGetInfo can be used to check if a channel is being mixed by the hardware.

Platform-specific

EAX is only supported on Windows.

See also

BASS_ChannelGetAttribute, BASS_ChannelSetAttribute, BASS_ChannelSlideAttribute, BASS_SetEAXParameters