]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
libvlc: introduce 'Muted' as a whole state, not as volume 0
[vlc] / src / libvlc.c
index 358a298860d980c250e088ef400b69145f2990be..ff6123336d1a25282a4da718c44a6e86656959c6 100644 (file)
@@ -859,6 +859,7 @@ 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-muted", VLC_VAR_BOOL );
 
     psz_modules = var_CreateGetNonEmptyString( p_libvlc, "extraintf" );
     psz_control = var_CreateGetNonEmptyString( p_libvlc, "control" );