<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - system.pa crashes if auth-anonymous=1 is used with module-native-protocol-tcp"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=49681#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - system.pa crashes if auth-anonymous=1 is used with module-native-protocol-tcp"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=49681">bug 49681</a>
              from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
        <pre>(In reply to Martin-Éric Racine from <a href="show_bug.cgi?id=49681#c4">comment #4</a>)
<span class="quote">> 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
> </span >


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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>