summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <wjt@endlessos.org>2021-11-11 15:52:33 +0000
committerSimon McVittie <smcv@debian.org>2021-11-11 16:38:11 +0000
commitbcc114383b744e3dc32c0b859fc900f9793ce6c7 (patch)
treeef5ee9cd1ba8101b0350640b5b4005876348c5fb
parent7534a970a5535d57d5fa07bd5ed9eb3647cbb7dc (diff)
downloadflatpak-bcc114383b744e3dc32c0b859fc900f9793ce6c7.tar.gz
run: Add link to PulseAudio server string documentation
-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)
{