<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 5:21 PM, <span dir="ltr"><<a href="mailto:pierre-louis.bossart@linux.intel.com">pierre-louis.bossart@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
>> In my application, I'm using alsa to set a particular buffer size. Alsa<br>
>> usually complies, but from everything that I can tell, pulse audio is<br>
>> using<br>
>> some other fragment size. This other fragment size also seems to be the<br>
>> time betwen interrupts which my application sees. This messes up my<br>
>> application because it wants the interrupts at regular intervals based<br>
>> on<br>
>> the buffer size I set.<br>
>><br>
>> Is there some way to make alsa and pulseaudio agree on the size?<br>
>><br>
><br>
> It is possible to turn off the ALSA period wakes in tschedule mode on some<br>
> hardware. This would allow pulseaudio to manage it.<br>
><br>
> See this thread:<br>
> <a href="http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-January/008638.html" target="_blank">http://lists.freedesktop.org/archives/pulseaudio-discuss/2011-January/008638.html</a><br>
<br>
</div>Have you played with the ADJUST_LATENCY flag? If it is not set, then the<br>
total latency will not match the buffer size you configure.<br></blockquote><div><br></div><div>I'm using ALSA, so I don't know how to set the ADJUST_LATENCY flag. </div><div><br></div><div>Any hints appreciated!</div>
<div><br></div><div>Ray</div><div> </div></div>