<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - periodic audio skips with Intel HDA"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=49608#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - periodic audio skips with Intel HDA"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=49608">bug 49608</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 rkfg from <a href="show_bug.cgi?id=49608#c9">comment #9</a>)
<span class="quote">> LMMS uses 64 frames, 1.5 ms but actually it has latency of 30-35 ms as
> "pacmd list-sink-inputs" says. Setting its output to ALSA results in
> extremely garbled sound, the only two options that actually produce
> reasonable sound is PulseAudio (bad latency) and SDL. Actually, latency
> isn't that bad if only PA doesn't increase it internally for every client.

> I've got a decent CPU here, G620 @ 2.6 GHz so I may understand skipping on
> high CPU load, BUT PulseAudio has very high realtime priority (15) and if I
> use pure ALSA there are no skips.</span >

Refer to src/core/audio/AudioAlsa.cpp, it using 8 periods per buffer,

 how can lmms use 64 frames ?

minimum period bytes of snd-hda-intel and pulse plugin are  128 bytes (32
frames)

m_periodSize = mixer()->framesPerPeriod();
        m_bufferSize = m_periodSize * 8;</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>