Enable or disable playback ramping.
BASS_ChannelSetAttribute( DWORD handle, BASS_ATTRIB_NORAMP, float noramp );
handle | The channel handle. |
noramp | Enable or disable playback ramping... 0 = enable ramping, 1 = disable ramping, 2 = disable ramping-in only, 3 = disable ramping-out only. |
Ramping-in is skipped when a channel's sample data begins at a low level (below -42dB), and ramping-out is skipped when a channel is muted. Ramping-out requires data in the channel's playback buffer, so it generally does not apply when buffering has been disabled via the BASS_ATTRIB_BUFFER option unless the channel is a "push" stream or BASS_ChannelUpdate is used to pre-buffer some data.
This attribute can be set at any time, and changes take immediate effect. A channel's initial setting is determined by the BASS_CONFIG_NORAMP config option.