FabGL2 2.0.0
ESP32 Display Controller and Graphics Library for ESP-IDF
Loading...
Searching...
No Matches

◆ setSampleRate()

void setSampleRate ( int value)
inline

Sets the sample rate.

The default sample rate is FABGL_SOUNDGEN_DEFAULT_SAMPLE_RATE (16384 Hz).

Parameters
valueSample rate in Hertz

Definition at line 163 of file soundgen.h.