FabGL
ESP32 Display Controller and Graphics Library

◆ play()

bool play ( bool  value)

Starts or stops playing.

Parameters
valueTrue = starts playing, False = stops playing
Returns
Returns previous playing state

Example:

soundGenerator.play(true);

Definition at line 644 of file soundgen.cpp.