alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* ALSA application programming: route audio from one PCM to another
@ 2010-04-13 15:23 Stefan Schoenleitner
  2010-04-13 16:23 ` Colin Guthrie
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Schoenleitner @ 2010-04-13 15:23 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hi,

I finally managed to write an ALSA I/O plugin that does what I want.
The plugin supports both playback and capture.

Now I would like to write a simple audio application that takes audio
samples

	* from the microphone and plays it back on my plugin
and
	* from the plugin (capture) and plays it back on the speakers


Hence as long as the application is running, it should do the above.

* Is there a special ALSA way to route audio from one PCM to another ?

* If not, I suppose it would just work if I open the plugin PCM and the
hw PCM at the same time and copy audio frames between them ?


cheers,
stefan

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

end of thread, other threads:[~2010-04-14  9:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13 15:23 ALSA application programming: route audio from one PCM to another Stefan Schoenleitner
2010-04-13 16:23 ` Colin Guthrie
2010-04-14  8:44   ` Stefan Schoenleitner
2010-04-14  9:00     ` Colin Guthrie
2010-04-14  9:36       ` Stefan Schoenleitner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).