<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - protocol-native: I get endless underruns when I playback when alsa buffer size is small"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84878#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - protocol-native: I get endless underruns when I playback when alsa buffer size is small"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84878">bug 84878</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 Alban Browaeys from <a href="show_bug.cgi?id=84878#c13">comment #13</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=112916" name="attach_112916" title="pcm_avail.c results : results from DESCRIPTOR mode">attachment 112916</a> <a href="attachment.cgi?id=112916&action=edit" title="pcm_avail.c results : results from DESCRIPTOR mode">[details]</a></span>
> pcm_avail.c results : results from DESCRIPTOR mode</span >

buffer_size  : 4096
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 1024
  stop_threshold   : 4096
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
  appl_ptr     : 0
  hw_ptr       : 0
Playing silence
now_us-last_us=140370086     now_us-start_us=23     time_us-start_us=14    
time_us-last_time=140370077     time_us-start_time=5     Available: 0     loop
iteration: 0
now_us-last_us=20732     now_us-start_us=25674     time_us-start_us=25666    
time_us-last_time=20728     time_us-start_time=25657     Available: 1024    
loop iteration: 769
now_us-last_us=13     now_us-start_us=67428     time_us-start_us=67421    
time_us-last_time=32481     time_us-start_time=67412     Available: 3072    
loop iteration: 222


avail should be increment by period size , it is strange that 2048 not in your
result



<a href="http://www.alsa-project.org/main/index.php/XRUN_Debug">http://www.alsa-project.org/main/index.php/XRUN_Debug</a></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>