Plugin exposing an ALSA device

Antonio Ospite ao2 at ao2.it
Wed Oct 14 03:10:59 PDT 2015


On Wed, 14 Oct 2015 10:18:44 +0200
Robert Bielik <robert.bielik at dirac.se> wrote:

> Hi all,
> 
> Is there some plugin that allows a gstreamer application to expose its 
> input as an ALSA device ? This is for applications that only target ALSA 
> devices.
> 

Hi. What do you mean by "expose its input"?

To fake alsa devices you can use alsa loop devices
(modprobe snd-aloop); and if for instance you want to export your app
_output_ write to the loop device with alsasink:

  gst-launch-1.0 audiotestsrc ! audioconvert ! alsasink device="hw:Loopback,0,0"

and then the audio will be available to ALSA apps on hw:Loopback,1,0

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