/[qemu]/qemu/audio/audio.c
ViewVC logotype

Diff of /qemu/audio/audio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by bellard, Tue Nov 9 23:08:30 2004 UTC revision 1.3 by bellard, Thu Nov 11 16:55:09 2004 UTC
# Line 183  int pcm_hw_alloc_resources (HWVoice *hw) Line 183  int pcm_hw_alloc_resources (HWVoice *hw)
183      return 0;      return 0;
184  }  }
185    
   
186  void pcm_hw_fini (HWVoice *hw)  void pcm_hw_fini (HWVoice *hw)
187  {  {
188      if (hw->active) {      if (hw->active) {
# Line 786  static struct audio_output_driver *drvta Line 785  static struct audio_output_driver *drvta
785  #ifdef CONFIG_SDL  #ifdef CONFIG_SDL
786      &sdl_output_driver,      &sdl_output_driver,
787  #endif  #endif
788        &no_output_driver,
789  #ifdef USE_WAV_AUDIO  #ifdef USE_WAV_AUDIO
790      &wav_output_driver,      &wav_output_driver,
791  #endif  #endif
# Line 906  void AUD_init (void) Line 906  void AUD_init (void)
906      register_savevm ("audio", 0, 1, audio_save, audio_load, NULL);      register_savevm ("audio", 0, 1, audio_save, audio_load, NULL);
907      if (!done) {      if (!done) {
908          dolog ("Can not initialize audio subsystem\n");          dolog ("Can not initialize audio subsystem\n");
909          return;          voice_init (&no_output_driver);
910      }      }
911  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26