FabGL
ESP32 Display Controller and Graphics Library

◆ setAutoDestroy()

void fabgl::WaveformGenerator::setAutoDestroy ( bool  value)
inline

Sets autodestroy mode.

Parameters
valueif true: this object needs to be destroyed by the sound generat or when there are no more samples to play. This will set also setAutoDetach(true).