contrib/steam/alsa_sdl_audiodriver.patch

15 lines
386 B
Diff
Raw Normal View History

2016-03-28 05:08:00 +02:00
--- a/steam 2013-02-15 14:43:40.000000000 -0500
+++ b/steam 2013-02-17 23:26:31.951179106 -0500
@@ -17,6 +17,11 @@
# Set up domain for script localization
export TEXTDOMAIN=steam
+# check if pulseaudio is installed and if it isn't, use alsa for SDL_AUDIODRIVER
+if ! pulseaudio --check &>/dev/null; then
+ export SDL_AUDIODRIVER=alsa
+fi
+
function show_message()
{
style=$1