qemu/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 alsaaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
audio_int.h audio: -audiodev command line option: cleanup 2019-03-11 10:29:27 +01:00
audio_legacy.c audio: fix audio timer rate conversion bug 2019-04-02 07:50:49 +02:00
audio_pt_int.c audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01: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: -audiodev command line option basic implementation 2019-03-11 10:29:27 +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
audio.c audio: fix audio timer rate conversion bug 2019-04-02 07:50:49 +02:00
audio.h audio: -audiodev command line option basic implementation 2019-03-11 10:29:27 +01:00
coreaudio.c coreaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
dsound_template.h dsoundaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
dsoundaudio.c dsoundaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
Makefile.objs audio: -audiodev command line option basic implementation 2019-03-11 10:29:27 +01:00
mixeng_template.h
mixeng.c audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01:00
mixeng.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
noaudio.c noaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
ossaudio.c ossaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
paaudio.c audio/paaudio: fix microphone input being unusable 2019-03-18 12:21:15 +01:00
rate_template.h audio: st_rate_flow exist a infinite loop 2017-07-17 11:08:59 +02:00
sdlaudio.c sdlaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
spiceaudio.c spiceaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
wavaudio.c wavaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
wavcapture.c audio: use qapi AudioFormat instead of audfmt_e 2019-03-11 10:29:26 +01:00