217 |
static void sdl_hw_fini (HWVoice *hw) |
static void sdl_hw_fini (HWVoice *hw) |
218 |
{ |
{ |
219 |
ldebug ("sdl_hw_fini %d fixed=%d\n", |
ldebug ("sdl_hw_fini %d fixed=%d\n", |
220 |
glob_sdl.initialized, audio_conf.fixed_format); |
glob_sdl.initialized, audio_state.fixed_format); |
221 |
sdl_close (&glob_sdl); |
sdl_close (&glob_sdl); |
222 |
} |
} |
223 |
|
|
229 |
int shift; |
int shift; |
230 |
|
|
231 |
ldebug ("sdl_hw_init %d freq=%d fixed=%d\n", |
ldebug ("sdl_hw_init %d freq=%d fixed=%d\n", |
232 |
s->initialized, freq, audio_conf.fixed_format); |
s->initialized, freq, audio_state.fixed_format); |
233 |
|
|
234 |
if (nchannels != 2) { |
if (nchannels != 2) { |
235 |
dolog ("Bogus channel count %d\n", nchannels); |
dolog ("Bogus channel count %d\n", nchannels); |