BASS_ATTRIB_TEMPO_OPTION_USE_AA_FILTER

BASS FX

BASS_ATTRIB_TEMPO_OPTION_USE_AA_FILTER attribute

Use Anti-Alias Filter on a tempo channel.

BOOL BASS_ChannelSetAttribute(
    DWORD handle,
    BASS_ATTRIB_TEMPO_OPTION_USE_AA_FILTER,
    float use_aa_filter
);

Parameters

handle Tempo stream (or source channel) handle
use_aa_filter

TRUE / FALSE

(default TRUE)

Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Remarks
iOS, Android, WinCE and Linux ARM: Disabled the BASS_ATTRIB_TEMPO_OPTION_USE_AA_FILTER option on tempo streams with multi-channel by default for lower CPU usage.
Doesn't SSE optimized for multi-channel streams.

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