From 7aaaf0c96d7f120e15c2ae16a859eae0ee04f10f Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Fri, 6 Oct 2023 11:13:30 +0100 Subject: [PATCH] Move the PipeWire stanza up in the configuration file. --- scripts/shairport-sync.conf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/shairport-sync.conf b/scripts/shairport-sync.conf index 79ef16cf..78a79c7e 100644 --- a/scripts/shairport-sync.conf +++ b/scripts/shairport-sync.conf @@ -142,6 +142,16 @@ alsa = // disable_standby_mode_silence_scan_interval = 0.004; // Use this optional advanced setting to control how often the amount of audio remaining in the output buffer should be checked. }; +// Parameters for the "pw" PipeWire backend. +// For this section to be operative, Shairport Sync must be built with the following configuration flag: +// --with-pw +pw = +{ +// application_name = "Shairport Sync"; // Set this to the name that should appear in the Sounds "Applications" or "Volume Levels". +// node_name = "Shairport Sync"; // This appears in some PipeWire CLI tool outputs. +// sink_target = ""; // Leave this commented out to get the sink target already chosen by the PipeWire system. +}; + // Parameters for the "sndio" audio back end. All are optional. // For this section to be operative, Shairport Sync must be built with the following configuration flag: // --with-sndio @@ -154,16 +164,6 @@ sndio = // bufsz = ; // advanced optional setting to set the buffer size near to this value }; -// Parameters for the "pw" PipeWire backend. -// For this section to be operative, Shairport Sync must be built with the following configuration flag: -// --with-pw -pw = -{ -// application_name = "Shairport Sync"; // Set this to the name that should appear in the Sounds "Applications" or "Volume Levels". -// node_name = "Shairport Sync"; // This appears in some PipeWire CLI tool outputs. -// sink_target = ""; // Leave this commented out to get the sink target already chosen by the PipeWire system. -}; - // Parameters for the "pa" PulseAudio backend. // For this section to be operative, Shairport Sync must be built with the following configuration flag: // --with-pa