aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer_api.h')
-rw-r--r--src/mixer_api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mixer_api.h b/src/mixer_api.h
index 62c277b9d..9af49cd87 100644
--- a/src/mixer_api.h
+++ b/src/mixer_api.h
@@ -23,8 +23,16 @@
#include "mixer_plugin.h"
#include "mixer_list.h"
+#include <glib.h>
+
struct mixer {
const struct mixer_plugin *plugin;
+
+ /**
+ * This mutex protects all of the mixer struct, including its
+ * implementation, so plugins don't have to deal with that.
+ */
+ GMutex *mutex;
};
void