Fix missing configuration mapping parameter in PulseAudio backend initialisation.

This commit is contained in:
Mike Brady
2026-04-27 12:43:51 +01:00
parent 930e523757
commit eed1b9f0b9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);
+1 -1
View File
@@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.50])
AC_INIT([shairport-sync], [5.0.3], [4265913+mikebrady@users.noreply.github.com])
AC_INIT([shairport-sync], [5.0.4], [4265913+mikebrady@users.noreply.github.com])
: ${CFLAGS="-O3"}
: ${CXXFLAGS="-O3"}
AM_INIT_AUTOMAKE([subdir-objects])