Commit 430116a1d8acbc0ac843517b57f70b75fe56d9ae
1 parent
1026f133
debug fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1398 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
audio/sdlaudio.c
| @@ -217,7 +217,7 @@ static void sdl_callback (void *opaque, Uint8 *buf, int len) | @@ -217,7 +217,7 @@ static void sdl_callback (void *opaque, Uint8 *buf, int len) | ||
| 217 | static void sdl_hw_fini (HWVoice *hw) | 217 | static void sdl_hw_fini (HWVoice *hw) |
| 218 | { | 218 | { |
| 219 | ldebug ("sdl_hw_fini %d fixed=%d\n", | 219 | ldebug ("sdl_hw_fini %d fixed=%d\n", |
| 220 | - glob_sdl.initialized, audio_conf.fixed_format); | 220 | + glob_sdl.initialized, audio_state.fixed_format); |
| 221 | sdl_close (&glob_sdl); | 221 | sdl_close (&glob_sdl); |
| 222 | } | 222 | } |
| 223 | 223 | ||
| @@ -229,7 +229,7 @@ static int sdl_hw_init (HWVoice *hw, int freq, int nchannels, audfmt_e fmt) | @@ -229,7 +229,7 @@ static int sdl_hw_init (HWVoice *hw, int freq, int nchannels, audfmt_e fmt) | ||
| 229 | int shift; | 229 | int shift; |
| 230 | 230 | ||
| 231 | ldebug ("sdl_hw_init %d freq=%d fixed=%d\n", | 231 | ldebug ("sdl_hw_init %d freq=%d fixed=%d\n", |
| 232 | - s->initialized, freq, audio_conf.fixed_format); | 232 | + s->initialized, freq, audio_state.fixed_format); |
| 233 | 233 | ||
| 234 | if (nchannels != 2) { | 234 | if (nchannels != 2) { |
| 235 | dolog ("Bogus channel count %d\n", nchannels); | 235 | dolog ("Bogus channel count %d\n", nchannels); |