From 46ee5553721505ae172faa357daed79c54df1387 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 3 Feb 2022 18:01:55 -0500 Subject: allow adding inputs with different buffer sizes --- src/mixer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mixer.c b/src/mixer.c index 9706b09..b1f2e47 100644 --- a/src/mixer.c +++ b/src/mixer.c @@ -218,8 +218,7 @@ xas_mixer_input *xas_mixer_input_add(xas_mixer *mixer, xas_mixer_input *input; if (stream->sample_size != mixer->output->sample_size - || stream->sample_rate != mixer->output->sample_rate - || stream->buffer_size != mixer->buffer_size) { + || stream->sample_rate != mixer->output->sample_rate) { errno = EINVAL; goto error_invalid_stream; -- cgit v1.2.3