Files
linux-steam-integration/snapd/pulseaudio
T
Ikey Doherty a1c2235120 Add new snapd pulseaudio script workaround
This is as yet untested, but the basic idea is that when games call out
to `system("pulseaudio --check > /dev/null 2>&1")` we'll put our script
in their way and unconditionally return 0. This is for games using libfmod,
which will die when trying to execute pulseaudio right now.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-12-24 15:12:43 +00:00

13 lines
235 B
Bash
Executable File

#!/bin/bash
# Work around games using libfmod which is determined to execute:
# pulseaudio --check > /dev/null 2>&1
if [[ ! -z "$1" ]]; then
if [[ "$1" == "--check" ]] ; then
exit 0
fi
fi
exec /usr/bin/pulseaudio $*