BASS_ATTRIB_DSD_GAIN attribute

The gain applied when converting to PCM.

BASS_ChannelSetAttribute(
    HSTREAM handle,
    BASS_ATTRIB_DSD_GAIN,
    float gain
);

Parameters

handleThe DSD stream handle.
gainThe gain in decibels.

Remarks

This attribute is only applicable when converting to PCM, and is unavailable when producing DSD-over-PCM or raw DSD data.

The default setting is determined by the BASS_CONFIG_DSD_GAIN config option.

See also

BASS_CONFIG_DSD_GAIN

BASS_ChannelGetAttribute, BASS_ChannelSetAttribute