The volume level applied in the DSP chain of a channel.
BASS_ChannelSetAttribute( DWORD handle, BASS_ATTRIB_VOLDSP, float volume );
handle | The channel handle. |
volume | The volume level... 0 = silent, 1.0 = normal, above 1.0 = amplification. |
During playback, the effect of changes to this attribute are not heard instantaneously due to buffering. This latency can be reduced via the BASS_ATTRIB_BUFFER attribute, but it is generally better to use the BASS_ATTRIB_VOL attribute instead for playback volume control.
Multiple DSP volume controls and ramping/fading are possible with the BASS_FX_VOLUME effect via BASS_ChannelSetFX.