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:
Maigre authored and Earle F. Philhower, III committed 2019-04-12 16:17:10 -07:00
1 parent 814ec61fa7
commit 87fbcadd80
6 files changed
+6 -1

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ bool AudioGeneratorMP3a::stop()
{
if (!running) return true;
running = false;
output->stop();
return file->close();
}