<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#c36">Comment # 36</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#c35">comment #35</a>)
<span class="quote">> When I start PA without tsched=0, it's ALSA setup is weird:
> </span >

<span class="quote">> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   rate     
> : 44100
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   exact
> rate   : 44100 (44100/1)
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   msbits   
> : 16
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:  
> buffer_size  : 88192
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:  
> period_size  : 44096
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:  
> period_time  : 999909
> Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:  


> Why does period size lack 4 bytes to be exactly 1 second long?</span >


<a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_intel.c?id=5f1545bc45a33361d6bb2fb44af7c35bcd733b9d">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_intel.c?id=5f1545bc45a33361d6bb2fb44af7c35bcd733b9d</a>



snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
+                   128);
+    snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES,
+                   128);

<a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_intel.c?id=103884a351a221553095c509a1dbbbf7d4fd9b05">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_intel.c?id=103884a351a221553095c509a1dbbbf7d4fd9b05</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>