From: Patrick Shirkey <pshirkey@boosthardware.com>
To: Friedrich.Ewaldt@gmx.de
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: copy plugin, connecting output-input (virtual soundcard with connected out->in)
Date: Tue, 13 Aug 2002 22:53:06 +0900 [thread overview]
Message-ID: <3D590F42.8030902@boosthardware.com> (raw)
In-Reply-To: 13809.1029241000@www8.gmx.net
Friedrich.Ewaldt@gmx.de wrote:
> Hi Patrick,
>
>
>>There is a plugin called copy in the pcm plugins docs. Have a read.
>>
>>http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins
>
>
> I did a lot of tests and experiments with the copy plugin (everything that
> came into my mind) but had no success in getting sound from an ALSA output
> device to an input device. Besides, I have some problems using the copy plugin
> with some applications (e.g. brutefir). I get a "file descriptor in bad state"
> error when brutefir calls snd_pcm_start. (you'll find further description od
> this problem at
> http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg04080.html
> )
> Do you know what I should do to get this running?
>
Your right that it is not easy.
I was under the impression that something like:
----
pcm.first {
type hw
card 0
device 0
}
ctl.first {
type hw
card 0
}
pcm.second {
type hw
card 1
device 0
}
ctl.second {
type hw
card 1
}
pcm_slave.sl {
pcm second
rate 44100
}
pcm.c1 {
type copy
slave sl
}
ctl.c1 {
type hw
card 0
}
----
Would allow you to do what you want. The plugins docs says it will copy
from master pcm to the slave pcm. I assume that the master is the first
device hw:0,0.
Did you try anything like the above?
I would but I'm testing alsaplayer and it is having problems with
releasing the ALSA pcm device currently so I have to shut down first.
HTH.
--
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: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
prev parent reply other threads:[~2002-08-13 13:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-13 12:16 copy plugin, connecting output-input (virtual soundcard with connected out->in) Friedrich.Ewaldt
2002-08-13 13:53 ` 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=3D590F42.8030902@boosthardware.com \
--to=pshirkey@boosthardware.com \
--cc=Friedrich.Ewaldt@gmx.de \
--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.