Skip to content

Commit

Permalink
Fix hanging sound on RTTTL stop for ESP32
Browse files Browse the repository at this point in the history
  • Loading branch information
maigre committed Mar 10, 2019
1 parent 748efb1 commit 00cf305
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AudioGeneratorRTTTL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ bool AudioGeneratorRTTTL::stop()
{
if (!running) return true;
running = false;
output->stop();
return file->close();
}

Expand Down

0 comments on commit 00cf305

Please sign in to comment.