Skip to content

Commit

Permalink
Fix issue with playing an audio file on android smallbasic#231
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisws committed Sep 27, 2024
1 parent bafcfbc commit 332dc05
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,12 +462,6 @@ public boolean onError(MediaPlayer mp, int what, int extra) {
return true;
}
});
_mediaPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
@Override
public void onCompletion(MediaPlayer mp) {
releaseMediaPlayer();
}
});
} else {
_mediaPlayer.reset();
}
Expand Down

0 comments on commit 332dc05

Please sign in to comment.