BASS_ATTRIB_DOWNMIX attribute

Enable or disable downmixed playback.

BASS_ChannelSetAttribute(
    DWORD handle,
    BASS_ATTRIB_DOWNMIX,
    float downmix
);

Parameters

handleThe channel handle.
downmixEnable or disable downmixing... 0 = disable, 1 = enable. This attribute is an integer (floating-point values will be truncated).

Remarks

This attribute determines whether multi-channel content (with up to 8 channels) will be downmixed when the output device has fewer speakers (up to 3), including stereo to mono conversion, so that all of the channels are heard. If disabled, the missing speaker channels will not be heard. Downmixing occurs after the sample data has left the channel's playback buffer, so it does not affect the data delivered by BASS_ChannelGetData and it is not applicable to decoding channels (the BASSmix add-on can be used for downmixing decoding channels).

This attribute can be set at any time, and changes take immediate effect. A channel's initial setting is determined by the BASS_CONFIG_DOWNMIX config option.

See also

BASS_ChannelGetAttribute, BASS_ChannelSetAttribute, BASS_CONFIG_DOWNMIX