qemu/audio
Volker Rümelin 180b044ffd coreaudio: fix coreaudio playback
There are reports that since commit 2ceb8240fa "coreaudio: port
to the new audio backend api" audio playback with CoreAudio is
broken. This patch reverts some parts the commit.

Because of changes in the audio subsystem the audio clip
function in v4.1.0 of coreaudio.c had to be moved to mixeng.c
and the generic buffer management code needed a hint about the
size of the float type.

This patch is based on a patch from Zoltán Kővágó found at
https://lists.nongnu.org/archive/html/qemu-devel/2020-01/msg02142.html.

Fixes: 2ceb8240fa "coreaudio: port to the new audio backend api"

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-id: 20200202140641.4737-1-vr_qemu@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-02-06 14:35:04 +01:00
..
alsaaudio.c audio: fix bug 1858488 2020-01-31 08:48:03 +01:00
audio.c audio/dsound: fix invalid parameters error 2020-02-06 14:31:20 +01:00
audio.h audio: support more than two channels in volume setting 2019-10-18 08:14:05 +02:00
audio_int.h audio: fix bug 1858488 2020-01-31 08:48:03 +01:00
audio_legacy.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
audio_template.h coreaudio: fix coreaudio playback 2020-02-06 14:35:04 +01: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 coreaudio: fix coreaudio playback 2020-02-06 14:35:04 +01:00
dsound_template.h audio/dsound: fix invalid parameters error 2020-02-06 14:31:20 +01:00
dsoundaudio.c audio/dsound: fix invalid parameters error 2020-02-06 14:31:20 +01:00
Makefile.objs paaudio: port to the new audio backend api 2019-09-23 12:28:47 +02:00
mixeng.c coreaudio: fix coreaudio playback 2020-02-06 14:35:04 +01:00
mixeng.h coreaudio: fix coreaudio playback 2020-02-06 14:35:04 +01:00
mixeng_template.h audio/mixeng_template.h: fix inline declaration 2013-10-26 13:09:34 +04:00
noaudio.c audio: fix bug 1858488 2020-01-31 08:48:03 +01:00
ossaudio.c ossaudio: disable poll mode can't be reached 2020-01-31 08:48:57 +01:00
paaudio.c paaudio: remove unused variables 2020-01-31 08:48:03 +01:00
rate_template.h audio: use size_t where makes sense 2019-08-21 09:13:37 +02:00
sdlaudio.c audio: fix bug 1858488 2020-01-31 08:48:03 +01:00
spiceaudio.c audio: replace shift in audio_pcm_info with bytes_per_frame 2019-10-18 08:14:05 +02:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
wavaudio.c audio: fix bug 1858488 2020-01-31 08:48:03 +01:00
wavcapture.c audio: basic support for multi backend audio 2019-08-21 09:13:37 +02:00