[Android] Fix audio seek button using the wrong preference value
Nicolas Pomepuy
git at videolan.org
Wed Nov 10 08:10:44 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Nov 4 08:25:16 2021 +0100| [180e14ac56ef2cbebef553972ef11ae851e044a6] | committer: Nicolas Pomepuy
Fix audio seek button using the wrong preference value
> https://code.videolan.org/videolan/vlc-android/commit/180e14ac56ef2cbebef553972ef11ae851e044a6
---
application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt b/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
index b911adb30..c2141c15a 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
@@ -466,7 +466,7 @@ class AudioPlayer : Fragment(), PlaylistAdapter.IPlayer, TextWatcher, IAudioPlay
*/
private fun jump(forward:Boolean, long:Boolean) {
playlistModel.service ?.let { service ->
- val jumpDelay = if (long) Settings.videoLongJumpDelay else Settings.videoJumpDelay
+ val jumpDelay = if (long) Settings.audioLongJumpDelay else Settings.audioJumpDelay
val delay = if (forward) jumpDelay * 1000 else -(jumpDelay * 1000)
var position = service.getTime() + delay
if (position < 0) position = 0
More information about the Android
mailing list