Re: [LAD] JACK and ALSA elucidations

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gianfranco Ceccolini <gianfranco@...>
Cc: linux-audio-dev@lists.linuxaudio.org <linux-audio-dev@...>
Date: Monday, March 10, 2014 - 2:26 pm

--047d7bd6bb0eff168904f44161bd
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Mar 10, 2014 at 9:51 AM, Gianfranco Ceccolini <
gianfranco@portalmod.com.br> wrote:

>

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.

--047d7bd6bb0eff168904f44161bd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 10, 2014 at 9:51 AM, Gianfranco Ceccolini <g=
ianfranco@portalmod.com.br
> wrote:

Paul. I’m really sorry for my lack of comprehension, but I still don&=
rsquo;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 har=
dware memory area used for transfers (what ALSA calls the "hardware bu=
ffer") is always twice the "buffer size".
ALSA offers control over *both* the "period" (between interru=
pts) 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 s=
pecify the period size (-p) and the number of "periods" that make=
up the hardware buffer.

--047d7bd6bb0eff168904f44161bd--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] JACK and ALSA elucidations, Gianfranco Ceccolini, (Fri Feb 28, 5:58 pm)
Re: [LAD] JACK and ALSA elucidations, Jeremy Jongepier, (Fri Feb 28, 8:01 pm)
Re: [LAD] JACK and ALSA elucidations, Gianfranco Ceccolini, (Mon Mar 10, 1:51 pm)
Re: [LAD] JACK and ALSA elucidations, Alex Gagnon, (Mon Mar 10, 2:34 pm)
Re: [LAD] JACK and ALSA elucidations, Paul Davis, (Mon Mar 10, 2:50 pm)
Re: [LAD] JACK and ALSA elucidations, Paul Davis, (Mon Mar 10, 2:26 pm)
Re: [LAD] JACK and ALSA elucidations, Gianfranco Ceccolini, (Wed Mar 12, 2:26 am)
Re: [LAD] JACK and ALSA elucidations, Paul Davis, (Wed Mar 12, 2:50 am)
Re: [LAD] JACK and ALSA elucidations, Gianfranco Ceccolini, (Wed Mar 12, 3:21 am)
Re: [LAD] JACK and ALSA elucidations, Paul Davis, (Wed Mar 12, 12:12 pm)
Re: [LAD] JACK and ALSA elucidations, Jeremy Jongepier, (Wed Mar 12, 11:37 am)
Re: [LAD] JACK and ALSA elucidations, Paul Davis, (Fri Feb 28, 6:12 pm)