User`s manual
RabbitFLEX User’s Manual www.rabbit.com 123
flexAudioSetRate
void flexAudioSetRate(unsigned int sample_rate);
DESCRIPTION
Tells the driver to treat the incoming data as audio sampled at this given rate. This tells the driver
how fast the data should be played through.
PARAMETER
sample_rate Sampling rate of the input data (1–65,535 Hz).
RETURN VALUE
None.
SEE ALSO
flexSpeakerPWM, flexAudioActivate, flexAudioShutdown,
flexAudioStop, flexAudioPlaying, flexAudioPlay, flexAudioLoad