[pulseaudio-tickets] [Bug 88452] pulseaudio "killed" my qemu instance (assertion hit)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Mar 7 18:16:25 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88452
--- Comment #19 from Raymond <superquad.vortex2 at gmail.com> ---
do you mean minreq can contain half frame ?
/*
- * qemu audio tick runs at 250 Hz (by default), so processing
- * data chunks worth 4 ms of sound should be a good fit.
+ * qemu audio tick runs at 100 Hz (by default), so processing
+ * data chunks worth 10 ms of sound should be a good fit.
*/
- ba.tlength = pa_usec_to_bytes (4 * 1000, &ss);
- ba.minreq = pa_usec_to_bytes (2 * 1000, &ss);
+ ba.tlength = pa_usec_to_bytes (10 * 1000, &ss);
+ ba.minreq = pa_usec_to_bytes (5 * 1000, &ss);
ba.maxlength = -1;
ba.prebuf = -1;
http://freedesktop.org/software/pulseaudio/doxygen/structpa__buffer__attr.html
Playback only: minimum request.
The server does not request less than minreq bytes from the client, instead
waits until the buffer is free enough to request more bytes at once. It is
recommended to set this to (uint32_t) -1, which will initialize this to a value
that is deemed sensible by the server. This should be set to a value that gives
PulseAudio enough time to move the data from the per-stream playback buffer
into the hardware playback buffer.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150308/ef05d02a/attachment.html>
More information about the pulseaudio-bugs
mailing list