BASS_ATTRIB_TEMPO_OPTION_USE_QUICKALGO

BASS FX

BASS_ATTRIB_TEMPO_OPTION_USE_QUICKALGO attribute

Use tempo quick algorithm.

BOOL BASS_ChannelSetAttribute(
    DWORD handle,
    BASS_ATTRIB_TEMPO_OPTION_USE_QUICKALGO,
    float use_quickalgo
);

Parameters

handle Tempo stream (or source channel) handle
use_quickalgo

TRUE / FALSE

(default FALSE)

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: Enabled the BASS_ATTRIB_TEMPO_OPTION_USE_QUICKALGO option on tempo streams by default for lower CPU usage.

Error codes

BASS_ERROR_HANDLE handle  is invalid
BASS_ERROR_ILLPARAM An illegal parameter was specified

See also
BASS_FX_TempoCreate, BASS_FX_TempoGetSourceBASS_FX_TempoGetRateRatio