qemu-e2k/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_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_pt_int.h
audio_template.h
audio_win_int.c
audio_win_int.h
audio.c audio: fix audio timer rate conversion bug 2019-04-02 07:50:49 +02:00
audio.h
coreaudio.c
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
mixeng_template.h
mixeng.c
mixeng.h
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
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