Plugin exposing an ALSA device

Antonio Ospite ao2 at ao2.it
Wed Oct 14 03:52:28 PDT 2015


On Wed, 14 Oct 2015 12:21:07 +0200
Robert Bielik <robert.bielik at dirac.se> wrote:

> Reading your comment again, would it be possible to use a loop device and:
> 
> gst-launch-1.0 alsasrc device="hw:Loopback,0,0" ! audioconvert ! alsasink
> 
> ?

you can read from "hw:Loopback,1,0":

  gst-launch-1.0 alsasrc device="hw:Loopback,1,0" ! audioconvert ! autoaudiosink

and let the ALSA apps write to the input device "hw:Loopback,0,0".

I did this once to bring into GStreamer synthesized MIDI notes:
http://ao2.it/en/blog/2014/09/10/prototyping-vocoder-gstreamer

BTW I think I was confused by the use of the word "expose" referred to
an input :)

Ciao,
   Antonio

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


More information about the gstreamer-devel mailing list