summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mixer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mixer.c b/src/mixer.c
index 8b41152..ef232e6 100644
--- a/src/mixer.c
+++ b/src/mixer.c
@@ -173,6 +173,8 @@ xas_mixer *xas_mixer_new(xas_audio_format format, size_t buffer_size) {
goto error_audio_stream_new_source;
}
+ xas_object_init(&mixer->obj);
+
mixer->obj.start = (xas_object_start_callback)noop;
mixer->obj.stop = (xas_object_stop_callback)noop;
mixer->obj.set_gain = (xas_object_set_gain_callback)set_gain;