<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 17, 2018 at 7:37 PM, Tim <span dir="ltr"><<a href="mailto:termtech@rogers.com" target="_blank">termtech@rogers.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 01/17/2018 06:58 PM, Will Godfrey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm getting a little confused when comparing our (Jack) buffer sizes with those<br>
discussed on Windows, Mac and general music groups.<br>
<br>
These latter never mention periods at all, and it's always frames per buffer,<br>
so when trying to make comparisons should I take buffers as 1:1 or should I be<br>
comparing their buffers to our periods?<br>
<br>
</blockquote>
<br></span>
Hi Will.<br>
<br>
>From memory on Windows years ago, and if I understand Jack correctly,<br>
 Jack, or more specifically ALSA (in this case let's say using the<br>
 ALSA driver), puts you much lower-level towards the sound hardware.<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">​while true, this is not necessarily a benefit.<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">the better design here is to completely decouple everything as much as possible from device interruptsm and use DLL's to provide sub-sample accurate "prediction" of where an application can read and write at any time.<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">this allows you to have multiple applications using different buffer sizes (different latency), and to get better latency than the device's inherent interrupt intervals would allow.<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">it's what coreaudio does, and ALSA should do it too. i doubt if it ever will. pulse sort of does this, but all in user space.​</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">​<br></div></div></div></div></div>