From: Patrick Shirkey <pshirkey@boosthardware.com>
To: sion@gmx.de
Cc: alsa-devel@alsa-project.org
Subject: Re: alsa or jack?
Date: Tue, 06 Aug 2002 00:02:06 +0900 [thread overview]
Message-ID: <3D4E936E.9010201@boosthardware.com> (raw)
In-Reply-To: 8724.1028549182@www15.gmx.net
sion@gmx.de wrote:
> Hi,
>
> I'm going to write a program whitch should get the audio-data from 8-10 mono
> audio channels, and for example save it to a file. Latency is absolutely no
> problem, but xruns wouldn't be very nice.
> My questions:
> 1. Should I use ALSA directly or via Jack? I remember some people saying
> Jack would be easyier. Can Jack handle 10 channels?
> 2. Is it always (i.e. with all soundcards) possible to open the channels in
> non-interleaved-mode?
>
> Thanks,
> Florian Bartels
>
JACK can allow you to access multiple channels (pcm devices). The main
reasons for using JACK as the default interface are that people who use
your app will be able to interact with other apps that support JACK and
it will also allow you to get low latency audio performance which is
pretty much neccessary for more than two channels.
It has also been reported many times that designing around JACK is
easier than using ALSA directly because you don't have to worry about
hardware level problems anymore as JACK takes care of that for you.
People also say that the code is very well set out and easy to read once
you grasp the basic concepts.
Also, If you write your app to access ALSA directly and in the future
you decide you would like JACK support, unless you have designed your
app around the callback principal you will find it a diffcult task to
rewrite your code to work with JACK. If you start with JACK now then
your app will use ALSA anyway.
--
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/guide/
========================================
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
prev parent reply other threads:[~2002-08-05 14:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-05 12:06 alsa or jack? sion
2002-08-05 15:02 ` Patrick Shirkey [this message]
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=3D4E936E.9010201@boosthardware.com \
--to=pshirkey@boosthardware.com \
--cc=alsa-devel@alsa-project.org \
--cc=sion@gmx.de \
/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.