Call output->stop() when stopping generators (#174)
* Fix hanging sound on WAV stop for ESP32 * Fix hanging sound on AAC stop for ESP32 * Fix hanging sound on MIDI stop for ESP32 * Fix hanging sound on MOD stop for ESP32 * Fix hanging sound on MP3a stop for ESP32 * Fix hanging sound on RTTTL stop for ESP32
This commit is contained in:
1 parent
814ec61fa7
commit
87fbcadd80
6 files changed
+6
-1
No files matched your search
@@ -71,6 +71,7 @@ bool AudioGeneratorMOD::stop()
|
||||
}
|
||||
if (file) file->close();
|
||||
running = false;
|
||||
output->stop();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user