This series of patch removes the following audio backends: esd, fmod, sdl, 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 branch audio-cleanup to simplify testing. Please review. Kővágó, Zoltán (12): audio: remove esd backend audio: remove fmod backend audio: remove sdl 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 audio/Makefile.objs | 7 - audio/alsaaudio.c | 155 ++++++----- audio/audio_int.h | 8 +- 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 | 6 +- audio/ossaudio.c | 115 ++++---- audio/paaudio.c | 105 +++---- audio/sdlaudio.c | 458 ------------------------------- audio/spiceaudio.c | 9 +- audio/wavaudio.c | 41 +-- audio/winwaveaudio.c | 717 ------------------------------------------------ configure | 60 +--- 17 files changed, 360 insertions(+), 2741 deletions(-) delete mode 100644 audio/esdaudio.c delete mode 100644 audio/fmodaudio.c delete mode 100644 audio/sdlaudio.c delete mode 100644 audio/winwaveaudio.c -- 2.4.2