Plugin exposing an ALSA device
Robert Bielik
robert.bielik at dirac.se
Wed Oct 14 03:17:29 PDT 2015
Hi Antonio,
Den 2015-10-14 kl. 12:10, skrev Antonio Ospite:
>
> 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
I mean the precise opposite, like:
gst-launch-1.0 alsafakeoutputdevice_src device="<fancy dev name>" !
audioconvert ! alsasink
And with this, an output only ALSA device called "<fancy dev name>"
should be availble for any audio application to use.
Regards
/R
More information about the gstreamer-devel
mailing list