All of lore.kernel.org
 help / color / mirror / Atom feed
* Lowest latency: JACK, or ALSA directly?
@ 2004-11-11 14:41 Asbjørn Sæbø
  2004-11-11 15:11 ` Jack O'Quin
  2004-11-11 15:34 ` Paul Davis
  0 siblings, 2 replies; 16+ messages in thread
From: Asbjørn Sæbø @ 2004-11-11 14:41 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2004-11-18 12:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-11 14:41 Lowest latency: JACK, or ALSA directly? Asbjørn Sæbø
2004-11-11 15:11 ` 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

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.