BASS_ATTRIB_TAIL attribute

An amount of time to add to the length of a channel.

BASS_ChannelSetAttribute(
    DWORD handle,
    BASS_ATTRIB_TAIL,
    float tail
);

Parameters

handleThe channel handle... a HMUSIC, HSTREAM.
tailThe amount of time to add in seconds.

Remarks

This attribute allows some silence to be added to the end a channel, which can be useful for hearing the tail of DSP/FX processing on the channel, eg. from reverb or echo effects. The silence is not added when looping is enabled.

The default value is 0. Changes take immediate effect.

Any BASS_SYNC_END syncs that are set on the channel (via BASS_ChannelSetSync) will be triggered twice: once at the normal end position and again at the end of the tail. The SYNCPROC callback's "data" parameter will indicate which has occurred.

See also

BASS_ChannelGetAttribute, BASS_ChannelSetAttribute