Re: [LAU] Jack - buffers V periods

From: Paul Davis <paul@email-addr-hidden>
Date: Thu Jan 18 2018 - 03:04:09 EET

On Wed, Jan 17, 2018 at 7:37 PM, Tim <termtech@email-addr-hidden> wrote:

>
>
> On 01/17/2018 06:58 PM, Will Godfrey wrote:
>
>> I'm getting a little confused when comparing our (Jack) buffer sizes with
>> those
>> discussed on Windows, Mac and general music groups.
>>
>> These latter never mention periods at all, and it's always frames per
>> buffer,
>> so when trying to make comparisons should I take buffers as 1:1 or should
>> I be
>> comparing their buffers to our periods?
>>
>>
> Hi Will.
>
> From memory on Windows years ago, and if I understand Jack correctly,
> Jack, or more specifically ALSA (in this case let's say using the
> ALSA driver), puts you much lower-level towards the sound hardware.
>

​while true, this is not necessarily a benefit.

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.

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.

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.​

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed, 17 Jan 2018 20:04:09 -0500

This archive was generated by hypermail 2.1.8 : Thu Jan 18 2018 - 04:15:02 EET