aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mixer_api.c b/src/mixer_api.c
index 1e0aabb10..aaa250d33 100644
--- a/src/mixer_api.c
+++ b/src/mixer_api.c
@@ -19,8 +19,6 @@
#include "mixer_api.h"
-#include <glib.h>
-
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "mixer"
@@ -28,4 +26,5 @@ void
mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin)
{
mixer->plugin = plugin;
+ mixer->mutex = g_mutex_new();
}