summaryrefslogtreecommitdiff
path: root/audio/audio.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-11 16:55:09 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-11 16:55:09 +0000
commit7372f88dc171775c2918b3a874edf0a1d5266b19 (patch)
tree4b2eda389460737de0b50228f6b80c0bf2d97a68 /audio/audio.c
parentd7382233d8408b2b32809f3783a5083cce14f291 (diff)
downloadqemu-7372f88dc171775c2918b3a874edf0a1d5266b19.tar.gz
audio fixes (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1133 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/audio.c')
-rw-r--r--audio/audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio.c b/audio/audio.c
index ec77c259e2..80170b96d4 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -183,7 +183,6 @@ int pcm_hw_alloc_resources (HWVoice *hw)
return 0;
}
-
void pcm_hw_fini (HWVoice *hw)
{
if (hw->active) {
@@ -786,6 +785,7 @@ static struct audio_output_driver *drvtab[] = {
#ifdef CONFIG_SDL
&sdl_output_driver,
#endif
+ &no_output_driver,
#ifdef USE_WAV_AUDIO
&wav_output_driver,
#endif
@@ -906,6 +906,6 @@ void AUD_init (void)
register_savevm ("audio", 0, 1, audio_save, audio_load, NULL);
if (!done) {
dolog ("Can not initialize audio subsystem\n");
- return;
+ voice_init (&no_output_driver);
}
}