Skip to content

Commit 091682a

Browse files
authored
Merge pull request #51 from podaen/main
Activated turning false
2 parents 7811008 + 57a76fb commit 091682a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/AudioTools/AudioPlayer.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,10 @@ namespace audio_tools {
728728
// reset timeout
729729
timeout = millis() + p_source->timeoutAutoNext();
730730
}
731+
else
732+
{
733+
active = false;
734+
}
731735
// move to next stream after timeout
732736
if (p_input_stream == nullptr || millis() > timeout) {
733737
if (autonext) {

0 commit comments

Comments
 (0)