Commit 4ca7102a authored by Thomas Guillem's avatar Thomas Guillem Committed by Geoffrey Métais

PlayerController: add setAudioDigitalOutputEnabled

(cherry picked from commit d68b95d3)
parent cfdbb072
......@@ -1726,6 +1726,11 @@ public class PlaybackService extends MediaBrowserServiceCompat{
return playlistManager.getPlayer().setAudioTrack(index);
public boolean setAudioDigitalOutputEnabled(boolean enabled) {
return playlistManager.getPlayer().setAudioDigitalOutputEnabled(enabled);
public boolean setVideoTrack(int index) {
return playlistManager.getPlayer().setVideoTrack(index);
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment