This series of patch removes the following audio backends: esd, fmod, winwave.
It also cleans up the remaining drivers to do not use global variables where possible. This is a preparation for my GSoC project where I will enable multiple simultaneous audio backends. Please also test the coreaudio backend, as I do not have a Mac to test it. Patches are also available at https://github.com/DirtYiCE/qemu.git in tag audio-cleanup-v2 to simplify testing. Changes since v1: * sdl no longer removed * fixed style issues in `audio: expose drv_opaque to init_out and init_in' Please review. Kővágó, Zoltán (12): audio: remove esd backend audio: remove fmod backend audio: remove winwave audio driver audio: expose drv_opaque to init_out and init_in alsaaudio: do not use global variables paaudio: do not use global variables ossaudio: do not use global variables wavaudio: do not use global variables dsoundaudio: do not use global variables paaudio: fix possible resource leak coreaudio: do not use global variables where possible sdlaudio: do not allow multiple instances audio/Makefile.objs | 4 - audio/alsaaudio.c | 165 ++++++----- audio/audio_int.h | 7 +- audio/audio_template.h | 2 +- audio/coreaudio.c | 46 ++-- audio/dsound_template.h | 24 +- audio/dsoundaudio.c | 106 ++++--- audio/esdaudio.c | 557 ------------------------------------- audio/fmodaudio.c | 685 --------------------------------------------- audio/noaudio.c | 4 +- audio/ossaudio.c | 115 ++++---- audio/paaudio.c | 105 +++---- audio/sdlaudio.c | 10 +- audio/spiceaudio.c | 5 +- audio/wavaudio.c | 42 +-- audio/winwaveaudio.c | 717 ------------------------------------------------ configure | 56 +--- 17 files changed, 367 insertions(+), 2283 deletions(-) delete mode 100644 audio/esdaudio.c delete mode 100644 audio/fmodaudio.c delete mode 100644 audio/winwaveaudio.c -- 2.4.2
