From 7d65f737f07a1e9f64f84b587dbd7b87832ef3fd Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 16 Mar 2022 01:29:53 -0400 Subject: Use xas_object_init() on mixer --- src/mixer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3