qemu/audio
Kővágó, Zoltán 526fb0581e audio: reduce glob_audio_state usage
Remove glob_audio_state from functions, where possible without breaking
the API.  This means that most static functions in audio.c now take an
AudioState pointer instead of implicitly using glob_audio_state.  Also
included a pointer in SWVoice*, HWVoice* structs, so that functions
dealing them can know the audio state without having to pass it around
separately.

This is required in order to support multiple simultaneous audio
backends (added in a later commit).

Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: b5e241f24e795267b145bcde7c6a72dd5e6037ea.1566168923.git.DirtY.iCE.hu@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-08-21 09:13:37 +02:00
..
alsaaudio.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
audio_int.h audio: reduce glob_audio_state usage 2019-08-21 09:13:37 +02:00
audio_legacy.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
audio_pt_int.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
audio_pt_int.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
audio_template.h audio: reduce glob_audio_state usage 2019-08-21 09:13:37 +02:00
audio_win_int.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00
audio_win_int.h Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
audio.c audio: reduce glob_audio_state usage 2019-08-21 09:13:37 +02:00
audio.h audio: -audiodev command line option basic implementation 2019-03-11 10:29:27 +01:00
coreaudio.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
dsound_template.h dsoundaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
dsoundaudio.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
Makefile.objs audio: -audiodev command line option basic implementation 2019-03-11 10:29:27 +01:00
mixeng_template.h audio/mixeng_template.h: fix inline declaration 2013-10-26 13:09:34 +04:00
mixeng.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
mixeng.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
noaudio.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
ossaudio.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
paaudio.c fix microphone lag with PA 2019-07-03 08:50:56 +02:00
rate_template.h audio: st_rate_flow exist a infinite loop 2017-07-17 11:08:59 +02:00
sdlaudio.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
spiceaudio.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
wavaudio.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
wavcapture.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00