Skip to content
Snippets Groups Projects
Commit 0f9ca36a authored by Thomas Guillem's avatar Thomas Guillem
Browse files

LibVLC: audiotrack hdmi device id has been renamed to "encoded"

parent 32f116eb
No related branches found
No related tags found
No related merge requests found
......@@ -392,7 +392,7 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
return;
if (action.equalsIgnoreCase(AudioManager.ACTION_HDMI_AUDIO_PLUG)) {
final boolean hasHdmi = intent.getIntExtra(AudioManager.EXTRA_AUDIO_PLUG_STATE, 0) == 1;
setAudioOutputDeviceInternal(hasHdmi ? "hdmi" : "stereo", false);
setAudioOutputDeviceInternal(hasHdmi ? "encoded" : "stereo", false);
}
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment