diff options
Diffstat (limited to 'games/anagramarama/files/patch-src-ag.c')
-rw-r--r-- | games/anagramarama/files/patch-src-ag.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games/anagramarama/files/patch-src-ag.c b/games/anagramarama/files/patch-src-ag.c new file mode 100644 index 000000000000..842f724c6274 --- /dev/null +++ b/games/anagramarama/files/patch-src-ag.c @@ -0,0 +1,28 @@ +--- src/ag.c.orig Wed Jul 13 15:52:56 2005 ++++ src/ag.c Wed Jul 13 15:54:22 2005 +@@ -1723,6 +1723,12 @@ + SDL_Surface *screen; + struct sprite* letters = NULL; + //pthread_t audio; ++ // buffer sounds ++ int audio_rate = MIX_DEFAULT_FREQUENCY; ++ Uint16 audio_format = AUDIO_S16; ++ int audio_channels = 1; ++ int audio_buffers = 256; ++ + + // seed the random generator + srand(time(NULL)); +@@ -1742,12 +1748,6 @@ + } + + SDL_WM_SetCaption("Anagramarama", "ANAGRAMARAMA"); +- +- // buffer sounds +- int audio_rate = MIX_DEFAULT_FREQUENCY; +- Uint16 audio_format = AUDIO_S16; +- int audio_channels = 1; +- int audio_buffers = 256; + + if(Mix_OpenAudio(audio_rate, audio_format, audio_channels, audio_buffers)){ + printf("unable to open audio!\n"); |