BASS_ATTRIB_TEMPO_OPTION_PREVENT_CLICK
attribute
Prevents a clicking sound when the samplerate/pitch crosses from value <1 to >= 1 or vice versa during processing.
BOOL BASS_ChannelSetAttribute( |
Parameters
handle | Tempo stream (or source channel) handle | |
prevent_click |
TRUE / FALSE |
(default FALSE) |
Return value
If successful, TRUE is returned, else FALSE is
returned. Use BASS_ErrorGetCode
to get the error code.
Remarks
Default is FALSE as this involves slight
sound quality compromise.
Error codes
BASS_ERROR_HANDLE | handle is invalid |
BASS_ERROR_ILLPARAM | An illegal parameter was specified |
See also
BASS_FX_TempoCreate, BASS_FX_TempoGetSource, BASS_FX_TempoGetRateRatio