qemu-patch-raspberry4/audio
Kővágó, Zoltán ff095e5231 audio: api for mixeng code free backends
This will make it possible to skip mixeng with audio playback and
recording, allowing us to free ourselves from the limitations of the
current mixeng (stereo, int64 samples only).  In this case, HW and SW
voices will be essentially the same, for every SW voice we will create
a HW voice, since we can no longer mix multiple voices together.

Some backends expect us to call a function when we have data ready
write()/read() style, while others provide a buffer and expects us to
directly write/read it, so for optimal performance audio_pcm_ops provide
methods for both cases.  Previously backends asked mixeng for more data
in run_out/run_it, now instead mixeng or the frontends will call the
backends, so that's why two sets of functions required.  audio.c
contains glue code between the two styles, so backends only ever have to
implement one style and frontends are free to call whichever is more
convenient for them.

Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
Message-id: 15a33c03a62228922d851f7324c52f73cb8d2414.1568927990.git.DirtY.iCE.hu@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-09-23 12:28:47 +02:00
..
alsaaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
audio.c audio: api for mixeng code free backends 2019-09-23 12:28:47 +02:00
audio.h audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
audio_int.h audio: api for mixeng code free backends 2019-09-23 12:28:47 +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: api for mixeng code free backends 2019-09-23 12:28:47 +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
coreaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
dsound_template.h dsoundaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
dsoundaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
Makefile.objs audio: -audiodev command line option basic implementation 2019-03-11 10:29:27 +01:00
mixeng.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
mixeng.h audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
mixeng_template.h audio/mixeng_template.h: fix inline declaration 2013-10-26 13:09:34 +04:00
noaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
ossaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
paaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
rate_template.h audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
sdlaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
spiceaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
wavaudio.c audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
wavcapture.c audio: basic support for multi backend audio 2019-08-21 09:13:37 +02:00