From: Jaroslav Kysela <perex@perex.cz>
To: Christian Gruber <christian.gruber@voiceinterconnect.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Full duplex ALSA-plugin
Date: Tue, 10 Jul 2012 16:39:16 +0200 [thread overview]
Message-ID: <4FFC3E94.5060300@perex.cz> (raw)
In-Reply-To: <4FFC3C11.4020600@voiceinterconnect.de>
Date 10.7.2012 16:28, Christian Gruber wrote:
> I was looking for information on writing an echo cancellation ALSA-plugin. So I studied
> the ALSA-plugin docs and also found several interesting threads in this mailing list. But
> what I found out, was quiet disillusioning.
>
> If I understood the ALSA-plugin concept right, there is no possibility to write a plugin
> working on two streams, a playback and a record stream, simultaneously. One can only write
> a filter plugin, which works either on a playback stream or a record stream but not both.
> And there is no possibility to open a full duplex stream (consisting of playback and
> record) with snd_pcm_open().
>
> Is there a reason, why full duplex streams are not implemented yet? Or is it planned in
> the future to implement this feature?
If you want to do some synchronization between two streams, you have to
use own "data sharing" mechanism such as IPC or so..
In other words - implement filters on both playback and capture streams
and implement the required communication between them.
Jaroslav
--
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.
next prev parent reply other threads:[~2012-07-10 14:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 14:28 Full duplex ALSA-plugin Christian Gruber
2012-07-10 14:39 ` Jaroslav Kysela [this message]
2012-07-11 7:04 ` Christian Gruber
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=4FFC3E94.5060300@perex.cz \
--to=perex@perex.cz \
--cc=alsa-devel@alsa-project.org \
--cc=christian.gruber@voiceinterconnect.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.