BASS_SetLogCurves

Sets the translation curves of the volume and panning values to either logarithmic or linear.

void WINAPI BASS_SetGlobalVolumes(
    BOOL volume,
    BOOL pan
);

Parameters
volumeVolume curve... FALSE = linear, TRUE = logarithmic.
panPanning curve... FALSE = linear, TRUE = logarithmic.

Remarks
DirectSound uses logarithmic volume and panning curves, which can be very awkward to work with. For example, with a logarithmic curve, the audible difference between 100 and 90, is not the same as between 90 and 80. With a linear "curve" the audible difference is spread equally across the whole range of values, so in the previous example the audible difference between 100 and 90, and between 90 and 80 would be identical.

Most people will find it much easier working with a linear curve, so this is what BASS uses by default. But if you want to use the DirectSound logarithmic curve then you can do so by switching to the logarithmic curve with this function.