BASS FX

BASS_FX_TempoGetRateRatio

Get the ratio of the resulting rate and source rate (the resampling ratio).

float BASS_FX_TempoGetRateRatio(
    HSTREAM chan
);

Parameters

chanTempo stream (or source channel) handle

Return value
If successful, the resampling ratio is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.

Error code

BASS_ERROR_HANDLE chan is not valid

See also
BASS_FX_TempoCreate, BASS_FX_TempoGetSource, Tempo Attributes