From: Jan Kiszka <jan.kiszka@domain.hid>
To: van der Linden <ejvanderlinden@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Communication between Xenomai and Linux domains
Date: Sun, 13 Apr 2008 15:51:38 +0200 [thread overview]
Message-ID: <48020FEA.20309@domain.hid> (raw)
In-Reply-To: <000701c89d68$8857e380$0202a8c0@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
van der Linden wrote:
> ...
> My real-time thread will call the alsa-sound library libasound and use the
> ALSA Linux kernel driver for my sound card.
I many cases, audio processing is a soft real-time task: quality
decreases as latency increases, but the world won't stop turning. So
unless you have very tight latency requirements (can you specify them,
BTW?), you are probably better off with the -rt (or "PREEMPT-RT")
patches. They achieve quite low, but generally not guaranteed latencies
for wide areas of the Linux kernel, including its sound subsystem (the
Linux audio community is using those patches e.g.).
If this doesn't fly for you (because of too low or actually hard latency
requirements), you will have to audit the relevant ALSA code paths from
the library in user land down to the low-level driver, either improve
them for your scenario on -rt or port a required subset over to
Xenomai's RTDM driver model.
Xenomai as-is will not improve ALSA latencies. Rather, your thread will
leave the RT space managed by Xenomai when it starts talking to this layer.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2008-04-13 13:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-12 17:59 [Xenomai-help] Communication between Xenomai and Linux domains van der Linden
2008-04-12 18:32 ` Gilles Chanteperdrix
2008-04-13 13:16 ` van der Linden
2008-04-13 13:51 ` Jan Kiszka [this message]
2008-04-13 15:12 ` van der Linden
2008-04-13 15:43 ` Jan Kiszka
2008-04-13 15:55 ` Gilles Chanteperdrix
2008-04-13 17:05 ` van der Linden
2008-04-13 18:18 ` Gilles Chanteperdrix
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=48020FEA.20309@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=ejvanderlinden@domain.hid \
--cc=xenomai@xenomai.org \
/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.