[pulseaudio-tickets] [Bug 49681] system.pa crashes if auth-anonymous=1 is used with module-native-protocol-tcp

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 25 04:41:10 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=49681

--- Comment #23 from Raymond <superquad.vortex2 at gmail.com> ---
(In reply to Martin-Éric Racine from comment #4)
> I: [alsa-source] alsa-source.c: Overrun!
> I: [alsa-source] alsa-source.c: Increasing minimal latency to 1,00 ms
> D: [alsa-source] alsa-source.c: latency set to 24,99ms
> D: [alsa-source] alsa-source.c: hwbuf_unused=61132
> D: [alsa-source] alsa-source.c: setting avail_min=443
> 


you need to enable DEBUG_TIMING

If pulseaudio did not wakeup in time to read the data from the sound card, this
mean hwptr was ahead of appl_ptr by more than one buffer size, 

some of the recorded data were overwrited by the recent record audio, but you
still had one buffer size of unreaded data in the buffer 

to recover you still need to use snd_pcm_forward to move appl_ptr to the
position which is one buffer size behind hwptr  before you read the remain data
from the 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/20141025/be0e4f5a/attachment.html>


More information about the pulseaudio-bugs mailing list