summaryrefslogtreecommitdiff
path: root/games/abuse/abuse-0.8-sound_fix.patch
blob: 7fffe3e0a79360ea71f43ff6167ae4f55245c7ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -aurp ./src/sdlport/sound.cpp ../abuse-0.8//src/sdlport/sound.cpp
--- ./src/sdlport/sound.cpp	2011-05-09 03:58:30.000000000 -0400
+++ ../abuse-0.8//src/sdlport/sound.cpp	2011-05-21 20:46:44.487000027 -0400
@@ -65,7 +65,7 @@ int sound_init( int argc, char **argv )
     }
     free( sfxdir );
 
-    if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 128) < 0)
+    if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0)
     {
         printf( "Sound: Unable to open audio - %s\nSound: Disabled (error)\n", SDL_GetError() );
         return 0;