]> git.sesse.net Git - vlc/blobdiff - include/vlc_aout.h
libvlc: Unify volume/mute change functions and add a mutex layer
[vlc] / include / vlc_aout.h
index 5025f346a61304118d71fd4213fb6593c1cc70af..32ca6e5b051efca9535ced3209c7185b005c9f0b 100644 (file)
@@ -229,6 +229,8 @@ struct aout_instance_t
     /* When output_fifo_lock is taken, the p_aout->output.fifo structure
      * cannot be read or written  by a third-party thread. */
     vlc_mutex_t             output_fifo_lock;
+    /* volume_vars_lock is taken */
+    vlc_mutex_t             volume_vars_lock;
 
     /* Input streams & pre-filters */
     aout_input_t *          pp_inputs[AOUT_MAX_INPUTS];