From ceed5dca7c19c287dd75c32e73cd4e99d9d88445 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 26 Nov 2025 10:32:00 +0100 Subject: [PATCH] meson: bump max channels to 128 Recompiling with the SPA_AUDIO_MAX_CHANNELS=128u defined, will create larger audio_info structures that can hold more channels. Because PipeWire is now using 128 channels, do the same in wireplumber so that the generated PortConfig param can hold all channel positions. See pipewire#4995 --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 95d14472..d0786028 100644 --- a/meson.build +++ b/meson.build @@ -157,6 +157,7 @@ common_args = [ '-D_GNU_SOURCE', '-DG_LOG_USE_STRUCTURED', '-DWP_USE_LOCAL_LOG_TOPIC_IN_G_LOG', + '-DSPA_AUDIO_MAX_CHANNELS=128u', ] add_project_arguments(common_args, language: 'c')