Add two PipeWire backend ("pw") settings -- application_name (default: "Shairport Sync") and node_name (default: "shairport-sync").

This commit is contained in:
Mike Brady
2023-10-05 09:41:21 +01:00
parent 3db689f9e8
commit 3763b321b8
3 changed files with 57 additions and 10 deletions
+8 -1
View File
@@ -139,10 +139,17 @@ typedef struct {
char *pa_server; // the pulseaudio server address that Shairport Sync will play on.
char *pa_application_name; // the name under which Shairport Sync shows up as an "Application" in
// the Sound Preferences in most desktop Linuxes.
// Defaults to "Shairport Sync". Shairport Sync must be playing to see it.
// Defaults to "Shairport Sync".
char *pa_sink; // the name (or id) of the sink that Shairport Sync will play on.
#endif
#ifdef CONFIG_PW
char *pw_application_name; // the name under which Shairport Sync shows up as an "Application" in
// the Sound Preferences in most desktop Linuxes.
// Defaults to "Shairport Sync".
char *pw_node_name; // defaults to the application's name, usually "shairport-sync".
#endif
#ifdef CONFIG_METADATA
int metadata_enabled;
char *metadata_pipename;