qemu-patch-raspberry4/audio
Volker Rümelin be1092afa0 audio: fix audio timer rate conversion bug
Currently the default audio timer frequency is 10000Hz instead of
a period of 10000us. Also the audiodev timer-period property gets
converted like a frequency. Only handling of the legacy
QEMU_AUDIO_TIMER_PERIOD environment variable is correct because
it's actually a frequency.

With this patch the property timer-period is really a timer period
and QEMU_AUDIO_TIMER_PERIOD remains a frequency.

Fixes: 71830221fb "-audiodev command line option basic implementation."
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Zoltán Kővágó <DirtY.iCE.hu@gmail.com>
Message-id: 90b95e4f-39ef-2b01-da6a-857ebaee1ec5@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-04-02 07:50:49 +02:00
..
alsaaudio.c
audio.c audio: fix audio timer rate conversion bug 2019-04-02 07:50:49 +02:00
audio.h
audio_int.h
audio_legacy.c audio: fix audio timer rate conversion bug 2019-04-02 07:50:49 +02:00
audio_pt_int.c
audio_pt_int.h
audio_template.h
audio_win_int.c
audio_win_int.h
coreaudio.c
dsound_template.h
dsoundaudio.c
Makefile.objs
mixeng.c
mixeng.h
mixeng_template.h
noaudio.c
ossaudio.c
paaudio.c
rate_template.h
sdlaudio.c
spiceaudio.c
trace-events
wavaudio.c
wavcapture.c