~ubuntu-branches/ubuntu/karmic/neverball/karmic

« back to all changes in this revision

Viewing changes to debian/patches/stereo_sound.patch

  • Committer: Bazaar Package Importer
  • Author(s): Tamas SZERB
  • Date: 2008-03-15 16:12:46 UTC
  • mfrom: (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080315161246-2d2jxkbrq3i9cdof
Tags: 1.4.0-6
The issue with not having any text in the menu is already fixed by the
ttf-bitstream-vera bug (#461276) so I close this bug (Closes: #295130)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- neverball-1.4.0.orig/share/audio.c
 
2
+++ neverball-1.4.0/share/audio.c
 
3
@@ -47,7 +47,7 @@
 
4
 
 
5
     if (audio_state == 0)
 
6
     {
 
7
-        if (Mix_OpenAudio(r, MIX_DEFAULT_FORMAT, 1, b) == 0)
 
8
+        if (Mix_OpenAudio(r, MIX_DEFAULT_FORMAT, 2, b) == 0)
 
9
         {
 
10
             for (i = 0; i < MAXSND; i++)
 
11
                 if (chan[i])
 
12
@@ -60,6 +60,7 @@
 
13
         }
 
14
         else
 
15
         {
 
16
+            printf("Mix_OpenAudio: %s\n", Mix_GetError());
 
17
             fprintf(stderr, "Sound disabled\n");
 
18
             audio_state = 0;
 
19
         }