Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
528
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
180e14ac
Commit
180e14ac
authored
3 years ago
by
Nicolas Pomepuy
Browse files
Options
Downloads
Patches
Plain Diff
Fix audio seek button using the wrong preference value
parent
25b026c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1148
Multiple behavior fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+1
-1
1 addition, 1 deletion
...vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
with
1 addition
and
1 deletion
application/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+
1
−
1
View file @
180e14ac
...
...
@@ -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
.
vide
oLongJumpDelay
else
Settings
.
vide
oJumpDelay
val
jumpDelay
=
if
(
long
)
Settings
.
audi
oLongJumpDelay
else
Settings
.
audi
oJumpDelay
val
delay
=
if
(
forward
)
jumpDelay
*
1000
else
-(
jumpDelay
*
1000
)
var
position
=
service
.
getTime
()
+
delay
if
(
position
<
0
)
position
=
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment