Skip to content

Commit

Permalink
Disable skip silence for now
Browse files Browse the repository at this point in the history
Enable when androidx/media#712 is resolved. See #604
  • Loading branch information
naveensingh committed Oct 17, 2023
1 parent d541b05 commit 7371d8b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ private fun PlaybackService.initializePlayer(handleAudioFocus: Boolean, handleAu
.build(),
handleAudioFocus
)
.setSkipSilenceEnabled(skipSilence)
.setSkipSilenceEnabled(
// TODO: Enable when https://github.com/androidx/media/issues/712 is resolved.
// See https://github.com/SimpleMobileTools/Simple-Music-Player/issues/604
false //skipSilence
)
.setSeekBackIncrementMs(SEEK_INTERVAL_MS)
.setSeekForwardIncrementMs(SEEK_INTERVAL_MS)
.setLooper(playerThread.looper)
Expand Down

0 comments on commit 7371d8b

Please sign in to comment.