Skip to contentSkip to conversation

fix compilation of sdlaudio debugging

PATCH New Bernhard Fischer 1 participant 1 message Apr 18, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix compilation of sdlaudio debugging

audio/sdlaudio.c (sdl_hw_fini, sdl_hw_init): audio_conf was renamed
to audio_state. Change the debug prints accordingly.

audio/sdlaudio.c +2 -2
diff -X excl -rduNp qemu.oorig/audio/sdlaudio.c qemu/audio/sdlaudio.c
@@ -217,7 +217,7 @@ static void sdl_callback (void *opaque, 
 static void sdl_hw_fini (HWVoice *hw)
 {
     ldebug ("sdl_hw_fini %d fixed=%d\n",
-             glob_sdl.initialized, audio_conf.fixed_format);
+             glob_sdl.initialized, audio_state.fixed_format);
     sdl_close (&glob_sdl);
 }
 
@@ -229,7 +229,7 @@ static int sdl_hw_init (HWVoice *hw, int
     int shift;
 
     ldebug ("sdl_hw_init %d freq=%d fixed=%d\n",
-            s->initialized, freq, audio_conf.fixed_format);
+            s->initialized, freq, audio_state.fixed_format);
 
     if (nchannels != 2) {
         dolog ("Bogus channel count %d\n", nchannels);