BASS

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.

The linear curve is used by default.

See also

BASS_GetConfig, BASS_SetConfig, BASS_SetVolume, BASS_ATTRIB_VOL, BASS_CONFIG_CURVE_PAN