]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Move the PipeWire stanza up in the configuration file.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 6 Oct 2023 10:13:30 +0000 (11:13 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 6 Oct 2023 10:13:30 +0000 (11:13 +0100)
scripts/shairport-sync.conf

index 79ef16cf4a91b63b196db6dda482b34b83250ce2..78a79c7e1a128ad12cde580df0b84cc12819a3af 100644 (file)
@@ -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 = "<sink target name>"; // 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 = <number>; // 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 = "<sink target name>"; // 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