qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [RESEND PATCH 2/3] pulseaudio: setup buffer attrs
Date: Tue, 25 Jan 2011 12:05:43 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Red Hat/3.1.7-3.el6_0 Thunderbird/3.1.7

  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 emulation though. And it doesn't work at all if your guest happens to use a ring buffer which holds sound data for only 20ms.

> Is there any reason to query this on startup
> somewhere instead of hard coding it?

No. The pulse default values will never ever work for qemu's low latency requirements.

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]