[vlc-devel] [PATCH] libvlc: add missing event registrations for the new audio events

Mark Lee mark.lee at capricasoftware.co.uk
Mon Jul 27 20:58:30 CEST 2015


---
 lib/media_player.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/media_player.c b/lib/media_player.c
index 778ef80..ba7158e 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -712,6 +712,10 @@ libvlc_media_player_new( libvlc_instance_t *instance )
     register_event(mp, ESSelected);
     register_event(mp, Corked);
     register_event(mp, Uncorked);
+    register_event(mp, Muted);
+    register_event(mp, Unmuted);
+    register_event(mp, AudioVolume);
+    register_event(mp, AudioDevice);
 
     var_AddCallback(mp, "corks", corks_changed, NULL);
     var_AddCallback(mp, "audio-device", audio_device_changed, NULL);
-- 
2.1.0




More information about the vlc-devel mailing list