summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/flatpak-run.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/flatpak-run.c b/common/flatpak-run.c
index 7059303e..88fd481a 100644
--- a/common/flatpak-run.c
+++ b/common/flatpak-run.c
@@ -575,6 +575,11 @@ flatpak_run_get_pulseaudio_server (void)
return NULL;
}
+/*
+ * Parse a PulseAudio server string, as documented on
+ * https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/ServerStrings/.
+ * Returns the first supported server address, or NULL if none are supported.
+ */
static char *
flatpak_run_parse_pulse_server (const char *value)
{