qemu/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 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 Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
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 audio/mixeng_template.h: fix inline declaration 2013-10-26 13:09:34 +04:00
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: prolong and make latency configurable 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 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