Skip to content

Commit eed1b9f

Browse files
committed
Fix missing configuration mapping parameter in PulseAudio backend initialisation.
1 parent 930e523 commit eed1b9f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

audio_pa.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ static int init(__attribute__((unused)) int argc, __attribute__((unused)) char *
504504
config.pa_server = (char *)str;
505505
}
506506

507-
// get the default channel mapping setting basis -- native ("no") or pa ("yes").
507+
// get the default channel mapping setting basis -- "alsa" or "pulseaudio".
508508

509-
if (config_lookup_non_empty_string(config.cfg, "pulseaudio", &default_channel_layouts)) {
509+
if (config_lookup_non_empty_string(config.cfg, "pulseaudio.default_channel_layouts", &default_channel_layouts)) {
510510
if ((strcasecmp(default_channel_layouts, "alsa") == 0) ||
511511
(strcasecmp(default_channel_layouts, "pulseaudio") == 0)) {
512512
debug(1, "pulseaudio default_channel_layouts setting: \"%s\".", default_channel_layouts);

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Process this file with autoconf to produce a configure script.
22

33
AC_PREREQ([2.50])
4-
AC_INIT([shairport-sync], [5.0.3], [4265913+mikebrady@users.noreply.github.com])
4+
AC_INIT([shairport-sync], [5.0.4], [4265913+mikebrady@users.noreply.github.com])
55
: ${CFLAGS="-O3"}
66
: ${CXXFLAGS="-O3"}
77
AM_INIT_AUTOMAKE([subdir-objects])

0 commit comments

Comments
 (0)