From: asbjs@stud.ntnu.no (Asbjørn Sæbø)
To: alsa-devel@lists.sourceforge.net
Subject: Lowest latency: JACK, or ALSA directly?
Date: Thu, 11 Nov 2004 15:41:53 +0100 [thread overview]
Message-ID: <20041111144152.GA12443@stud.ntnu.no> (raw)
As I understand it, JACK acts as a middle layer between a (jack-aware)
application and the underlying ALSA libraries. But it is also possible
to program against the ALSA libraries directly (which I am doing now).
I am writing an application for audio transfer over network, where the
main goal is to achieve the lowest latency possible. I would assume
that, as JACK adds an extra layer, it may also introduce extra latency.
Is that so? And in that case, how much may be gained by using the ALSA
libs directly, instead of going through ALSA?
Although I so far barely have gotten into ALSA programming, it does seem
to be manageable in difficulty. (Don't laugh, I am an acoustican, not a
programmer.) How is programming against JACK in comparison?
As far as I understand it, the main advantages of JACK are the
possibility to connect together several applications, as well as the
ability to keep these applications in sync. That is however not very
important to me now, as I will probably not need to connect to other
programs. Are there other important advantages? And what are the
disadvantages?
(As an aside, if anybody knows of any open source applications for very
low latency transfer of audio over IP, I would appreciate it if you let
me know. Although this audio programming is some of the most fun I have
had in years, I can hardly defend spending my time duplicating work.)
With kind regards
Asbjørn Sæbø
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
next reply other threads:[~2004-11-11 14:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-11 14:41 Asbjørn Sæbø [this message]
2004-11-11 15:11 ` Lowest latency: JACK, or ALSA directly? Jack O'Quin
2004-11-12 9:04 ` Asbjørn Sæbø
2004-11-12 16:42 ` Jack O'Quin
2004-11-12 17:01 ` Takashi Iwai
2004-11-12 17:19 ` Jack O'Quin
2004-11-17 14:55 ` Takashi Iwai
2004-11-17 17:32 ` Jack O'Quin
2004-11-17 18:28 ` Takashi Iwai
2004-11-17 19:41 ` Takashi Iwai
2004-11-18 2:07 ` Jack O'Quin
2004-11-18 12:38 ` Takashi Iwai
2004-11-11 15:34 ` Paul Davis
2004-11-12 9:11 ` Asbjørn Sæbø
2004-11-12 14:47 ` Gilles Degottex
2004-11-12 15:28 ` Giuliano Pochini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041111144152.GA12443@stud.ntnu.no \
--to=asbjs@stud.ntnu.no \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.