]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Make volume-change a void rather than a boolean
[vlc] / src / libvlc.c
index 358a298860d980c250e088ef400b69145f2990be..3543e96f6ba9434ba2a5041090046366ef7a635a 100644 (file)
@@ -858,7 +858,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
      */
     /* Create volume callback system. (this variable must be created before
        all interfaces as they can use it) */
-    var_Create( p_libvlc, "volume-change", VLC_VAR_BOOL );
+    var_Create( p_libvlc, "volume-change", VLC_VAR_VOID );
+    var_Create( p_libvlc, "volume-muted", VLC_VAR_BOOL );
 
     psz_modules = var_CreateGetNonEmptyString( p_libvlc, "extraintf" );
     psz_control = var_CreateGetNonEmptyString( p_libvlc, "control" );