From 68b6d4dfb7c82f6aa1dd3546d043d800320c52b0 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 27 Apr 2026 12:46:13 +0100 Subject: [PATCH] Fix missing configuration mapping parameter in PulseAudio backend initialisation. --- audio_pa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio_pa.c b/audio_pa.c index 998dbc27..a0c6afec 100644 --- a/audio_pa.c +++ b/audio_pa.c @@ -504,9 +504,9 @@ static int init(__attribute__((unused)) int argc, __attribute__((unused)) char * config.pa_server = (char *)str; } - // get the default channel mapping setting basis -- native ("no") or pa ("yes"). + // get the default channel mapping setting basis -- "alsa" or "pulseaudio". - if (config_lookup_non_empty_string(config.cfg, "pulseaudio", &default_channel_layouts)) { + if (config_lookup_non_empty_string(config.cfg, "pulseaudio.default_channel_layouts", &default_channel_layouts)) { if ((strcasecmp(default_channel_layouts, "alsa") == 0) || (strcasecmp(default_channel_layouts, "pulseaudio") == 0)) { debug(1, "pulseaudio default_channel_layouts setting: \"%s\".", default_channel_layouts);