BASS_CONFIG_CURVE_VOL config option

The translation curve of volume values.

BASS_SetConfig(
    BASS_CONFIG_CURVE_VOL,
    BOOL logvol
);

Parameters

logvolVolume curve... FALSE = linear, TRUE = logarithmic.

Remarks

When using the linear curve, the volume range is from 0% (silent) to 100% (full). When using the logarithmic curve, the volume range is from -100 dB (effectively silent) to 0 dB (full). For example, a volume level of 0.5 is 50% linear or -50 dB logarithmic.

This config setting is used by the BASS_SetVolume and BASS_ChannelSet3DAttributes functions, and the BASS_ATTRIB_VOL attribute. Other volume controls are unaffacted.

The linear curve is used by default.

See also

BASS_GetConfig, BASS_SetConfig, BASS_SetVolume, BASS_ATTRIB_VOL, BASS_CONFIG_CURVE_PAN