diff options
author | XANTRONIX Development | 2022-03-16 01:29:53 -0400 |
---|---|---|
committer | XANTRONIX Development | 2022-03-16 01:29:53 -0400 |
commit | 7d65f737f07a1e9f64f84b587dbd7b87832ef3fd (patch) | |
tree | e4869cd25ab92a4ca2044418397aa5e15b23ce0c /src | |
parent | c705bfa895333950c40e40a6de5e701a03e9cbe1 (diff) | |
download | xas-7d65f737f07a1e9f64f84b587dbd7b87832ef3fd.tar.gz xas-7d65f737f07a1e9f64f84b587dbd7b87832ef3fd.tar.bz2 xas-7d65f737f07a1e9f64f84b587dbd7b87832ef3fd.zip |
Use xas_object_init() on mixer
Diffstat (limited to 'src')
-rw-r--r-- | src/mixer.c | 2 |
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; |