The volume level of a channel.
BASS_ChannelSetAttribute(
DWORD handle,
BASS_ATTRIB_VOL,
float volume
);
| handle | The channel handle. |
| volume | The volume level... 0 = silent, 1.0 = normal, above 1.0 = amplification. |
When using BASS_ChannelSlideAttribute to slide this attribute, a negative volume value can be used to fade-out and then stop the channel. When the linear volume curve is in use, the BASS_SLIDE_LOG flag can also be used to make a slide logarithmic rather than linear.