qemu-e2k/audio
Martin Schrodt f614277765 audio/paaudio: prolong and make latency configurable
The latency of a connection to the PulseAudio server is determined by
the tlength parameter. This was hardcoded to 10ms, which is a bit too
tight on my machine, causing audio on host and guest to malfunction.
A setting of 15ms works fine here. To allow tweaking, I also made the
setting configurable via the new -audiodev config. This allows to squeeze out better timings in scenarios where the emulation allows it.

I also removed setting of the minreq parameter to (seemingly arbitrary) half the latency, since it showed worse audio quality during my tests. Allowing PulseAudio to request smaller chunks helped.

Signed-off-by: Martin Schrodt <martin@schrodt.org>
Message-id: 20190315084653.120020-3-martin@schrodt.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-03-18 12:21:15 +01: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 wavaudio: port to -audiodev config 2019-03-11 10:29:27 +01:00
audio_pt_int.c audio: Replace AUDIO_FUNC with __func__ 2018-02-06 18:26:42 +01:00
audio_pt_int.h
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: -audiodev command line option: cleanup 2019-03-11 10:29:27 +01: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
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: prolong and make latency configurable 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 audio: add audio timer trace points 2018-07-03 11:46:47 +02: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