Skip to content

Commit

Permalink
audiofile stop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Apr 27, 2024
1 parent f11717e commit 1f5aa5b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/org/myrobotlab/service/AudioFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,10 @@ public void stop() {
// dump the current song

// pause the next one if queued
ap.pause(false); // FIXME me shouldn't it be true ?
ap.stopPlaying();
if (ap != null) {
ap.pause(false); // FIXME me shouldn't it be true ?
ap.stopPlaying();
}
}

// FIXME - implement ???
Expand Down

0 comments on commit 1f5aa5b

Please sign in to comment.