aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux/xbmc-standalone.sh.pulse
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Linux/xbmc-standalone.sh.pulse')
-rw-r--r--tools/Linux/xbmc-standalone.sh.pulse9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/Linux/xbmc-standalone.sh.pulse b/tools/Linux/xbmc-standalone.sh.pulse
new file mode 100644
index 0000000000..c4d5564344
--- /dev/null
+++ b/tools/Linux/xbmc-standalone.sh.pulse
@@ -0,0 +1,9 @@
+PULSE_START="$(which start-pulseaudio-x11)"
+if [ -n "$PULSE_START" ]; then
+ $PULSE_START
+else
+ PULSE_SESSION="$(which pulse-session)"
+ if [ -n "$PULSE_SESSION" ]; then
+ XBMC="$PULSE_SESSION $XBMC"
+ fi
+fi