Plugin exposing an ALSA device

Robert Bielik robert.bielik at dirac.se
Wed Oct 14 03:21:07 PDT 2015


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

?

Regards
/R

Den 2015-10-14 kl. 12:17, skrev Robert Bielik:
> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list