Disable skip silence for now
Enable when https://github.com/androidx/media/issues/712 is resolved. See https://github.com/SimpleMobileTools/Simple-Music-Player/issues/604
This commit is contained in:
parent
d541b055a1
commit
7371d8b79b
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@ private fun PlaybackService.initializePlayer(handleAudioFocus: Boolean, handleAu
|
||||||
.build(),
|
.build(),
|
||||||
handleAudioFocus
|
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)
|
.setSeekBackIncrementMs(SEEK_INTERVAL_MS)
|
||||||
.setSeekForwardIncrementMs(SEEK_INTERVAL_MS)
|
.setSeekForwardIncrementMs(SEEK_INTERVAL_MS)
|
||||||
.setLooper(playerThread.looper)
|
.setLooper(playerThread.looper)
|
||||||
|
|
Loading…
Reference in a new issue