BASS_ATTRIB_PAN attribute

The panning/balance position of a channel.

BASS_ChannelSetAttribute(
    DWORD handle,
    BASS_ATTRIB_PAN,
    float pan
);

Parameters

handleThe channel handle.
panThe pan position... -1 (full left) to +1 (full right), 0 = centre.

Remarks

This attribute is applied during playback of the channel and is not present in the sample data returned by BASS_ChannelGetData, so it has no direct effect on decoding channels. It also has no effect on multi-channel channels (more than stereo), and it is not available at all on 3D channels.

See also

BASS_ChannelGetAttribute, BASS_ChannelSetAttribute, BASS_ChannelSlideAttribute, BASS_CONFIG_CURVE_PAN