All of lore.kernel.org
 help / color / mirror / Atom feed
* copy plugin, connecting output-input (virtual soundcard with connected out->in)
@ 2002-08-13 12:16 Friedrich.Ewaldt
  2002-08-13 13:53 ` Patrick Shirkey
  0 siblings, 1 reply; 2+ messages in thread
From: Friedrich.Ewaldt @ 2002-08-13 12:16 UTC (permalink / raw)
  To: Patrick Shirkey; +Cc: alsa-devel

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?

One question to the ALS experts: 
Is there (or would it be a big deal to write one) some kind of virtual
soundcard device I could use? I'm thinking of some virtual "card" I could write
audio data to (say, to an ALSA "output device" of this virtual card) and
capture this data by using the "input device" of this virtual card. 

*From an application point of view, this should look like a real soundcard
with a cable connecting the output(s) to the input(s).*

(The virtual card would indicate always free buffers to the application
using it and would just move 2 pointers to get the input and output streams
synchronized. Or something similar -- or something completely different. Sorry, I
don't know ;-) )

Or -- is there any other solution to simulate a card with connected
out-/inputs?
Something like a software version of a hardware audio patch panel would be
quite interesting for many others, I think.

Many thanks in advace for any help,
fritz_e

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



-------------------------------------------------------
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

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

end of thread, other threads:[~2002-08-13 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.