summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-03 18:01:55 -0500
committerXANTRONIX Development2022-02-03 18:01:55 -0500
commit46ee5553721505ae172faa357daed79c54df1387 (patch)
treec046dcaae02a3f4a6ca158bc00b5ed9fb742e4d1 /src
parent7a948af192343548e0407d7e1cecf9c620e015bb (diff)
downloadxas-46ee5553721505ae172faa357daed79c54df1387.tar.gz
xas-46ee5553721505ae172faa357daed79c54df1387.tar.bz2
xas-46ee5553721505ae172faa357daed79c54df1387.zip
allow adding inputs with different buffer sizes
Diffstat (limited to 'src')
-rw-r--r--src/mixer.c3
1 files changed, 1 insertions, 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;