Skip to content

Commit 4453928

Browse files
authored
Fix player is still active when the source is done (#2084)
1 parent 8faffc9 commit 4453928

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/AudioTools/CoreAudio/AudioPlayer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,6 @@ class AudioPlayer : public AudioInfoSupport, public VolumeSupport {
537537
}
538538

539539
void moveToNextFileOnTimeout() {
540-
if (!autonext) return;
541540
if (p_final_stream != nullptr && p_final_stream->availableForWrite() == 0)
542541
return;
543542
if (p_input_stream == nullptr || millis() > timeout) {

0 commit comments

Comments
 (0)