Re: [Qemu-devel] [RESEND PATCH 2/3] pulseaudio: setup buffer attrs

2011-01-25 Thread Gerd Hoffmann
Hi, What's the default buffer size? Don't know the exact number, but pulse's default buffer size is quite big by design. Which is fine for most apps (such as mp3 players) where loading more sound data into the buffer every second or so is ok. It doesn't work very well for sound card emu

Re: [Qemu-devel] [RESEND PATCH 2/3] pulseaudio: setup buffer attrs

2011-01-25 Thread Alon Levy
On Mon, Jan 24, 2011 at 10:07:45PM +0100, Gerd Hoffmann wrote: > Request reasonable buffer sizes from pulseaudio. Without this > pa_simple_write() can block quite long and lead to dropouts, > especially with guests which use small audio ring buffers. > > Signed-off-by: Gerd Hoffmann > --- > aud

[Qemu-devel] [RESEND PATCH 2/3] pulseaudio: setup buffer attrs

2011-01-24 Thread Gerd Hoffmann
Request reasonable buffer sizes from pulseaudio. Without this pa_simple_write() can block quite long and lead to dropouts, especially with guests which use small audio ring buffers. Signed-off-by: Gerd Hoffmann --- audio/paaudio.c | 12 +++- 1 files changed, 11 insertions(+), 1 deleti