Re: [LAD] JACK and ALSA elucidations

From: Paul Davis <paul@email-addr-hidden>
Date: Mon Mar 10 2014 - 16:26:00 EET

On Mon, Mar 10, 2014 at 9:51 AM, Gianfranco Ceccolini <
gianfranco@email-addr-hidden> wrote:

>
> Paul. I'm really sorry for my lack of comprehension, but I still don't get
> it. Is there a relation between the ALSA period with JACK's period?
>

they are identical.

note: other audio APIs call this a "buffer". some, like ASIO, force a
double "buffered" model where the total size of the hardware memory area
used for transfers (what ALSA calls the "hardware buffer") is always twice
the "buffer size".

ALSA offers control over *both* the "period" (between interrupts) and the
total hardware buffer size. This is unusual among audio APIs, except that
JACK follows the same convention in its ALSA backend. You can specify the
period size (-p) and the number of "periods" that make up the hardware
buffer.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Mar 10 20:15:02 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 10 2014 - 20:15:02 EET