debug fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 26 Apr 2005 20:35:05 +0000 (20:35 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 26 Apr 2005 20:35:05 +0000 (20:35 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1398 c046a42c-6fe2-441c-8c8c-71466251a162

audio/sdlaudio.c

index d6e13d0..978686a 100644 (file)
@@ -217,7 +217,7 @@ static void sdl_callback (void *opaque, Uint8 *buf, int len)
 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 freq, int nchannels, audfmt_e fmt)
     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);