Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
d68b95d3
Commit
d68b95d3
authored
Mar 26, 2018
by
Thomas Guillem
Committed by
Geoffrey Métais
Mar 26, 2018
Browse files
PlayerController: add setAudioDigitalOutputEnabled
parent
b8fd87d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/PlaybackService.java
View file @
d68b95d3
...
...
@@ -1726,6 +1726,11 @@ public class PlaybackService extends MediaBrowserServiceCompat{
return
playlistManager
.
getPlayer
().
setAudioTrack
(
index
);
}
@MainThread
public
boolean
setAudioDigitalOutputEnabled
(
boolean
enabled
)
{
return
playlistManager
.
getPlayer
().
setAudioDigitalOutputEnabled
(
enabled
);
}
@MainThread
public
boolean
setVideoTrack
(
int
index
)
{
return
playlistManager
.
getPlayer
().
setVideoTrack
(
index
);
...
...
vlc-android/src/org/videolan/vlc/media/PlayerController.kt
View file @
d68b95d3
...
...
@@ -123,6 +123,8 @@ class PlayerController : IVLCVout.Callback, MediaPlayer.EventListener {
fun
setAudioTrack
(
index
:
Int
)
=
mediaplayer
.
setAudioTrack
(
index
)
fun
setAudioDigitalOutputEnabled
(
enabled
:
Boolean
)
=
mediaplayer
.
setAudioDigitalOutputEnabled
(
enabled
)
fun
getAudioDelay
()
=
mediaplayer
.
audioDelay
fun
getSpuDelay
()
=
mediaplayer
.
spuDelay
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment