BASS_ATTRIB_TEMPO_FREQ attribute
Set sample rate of a channel.
BOOL
BASS_ChannelSetAttribute( |
Parameters
handle | Tempo stream (or source channel) handle |
freq | Samplerate in Hz (must be within 5% to 5000% of the original sample rate) |
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is invalid |
BASS_ERROR_ILLPARAM | An illegal parameter was specified |
Info
Sample Rate : Changes both the sound tempo
and pitch, as if an LP disc was played at wrong RPM rate.
See also
BASS_FX_TempoCreate,
BASS_FX_TempoGetSource,
BASS_FX_TempoGetRateRatio