get more explicit input and output names of soundcard
Jack
jack at rybn.org
Wed Sep 4 09:21:17 UTC 2019
Hello Nicolas,
Thanks for the proposition.
I finished to use 'internal-name' of the get_property().
I get names like :
alsa_input.pci-0000_00_1f.3.analog-stereo
alsa_input.usb-Focusrite_Scarlett_2i2_USB-00.analog-stereo
And I can use directly this name as device in pulsesrc or pulsesink.
++
Jack
Le 03/09/2019 à 22:30, Nicolas Dufresne a écrit :
> Le mardi 03 septembre 2019 à 15:04 +0200, Jack a écrit :
>> Hello,
>>
>> I am using Gst.DeviceMonitor to retrieve the names of the different io
>> of my soundcard. But it results in :
>>
>> hw:0,0
>> HDA Intel PCH at 0xed128000 irq 140
>>
>> hw:0,0
>> HDA Intel PCH at 0xed128000 irq 140
>>
>> hw:0,3
>> HDA Intel PCH at 0xed128000 irq 140
>>
>> hw:0,7
>> HDA Intel PCH at 0xed128000 irq 140
>>
>> hw:0,8
>> HDA Intel PCH at 0xed128000 irq 140
>>
>> hw:0,9
>> HDA Intel PCH at 0xed128000 irq 140
>>
>> hw:0,10
>> HDA Intel PCH at 0xed128000 irq 140
>
> Here I got:
> ]$ gst-device-monitor-1.0 Audio | grep "name.*:"
> name : Monitor of Audio interne Stéréo analogique
> name : Audio interne Stéréo analogique
>
> Ok, the translation thing is pretty broken, but otherwise it picks
> human readable names from PulseAudio. Maybe you forgot to share some of
> the details about your setup ?
>
>>
>>
>> Is there a possibility to get explicit names like (display with "aplay
>> -l" or "arecord -l" on Linux) :
>>
>> ALC3266 Analog
>> ALC3266 Analog
>> HDMI 0
>> HDMI 1
>> HDMI 2
>> HDMI 3
>> HDMI 4
>>
>> Best!
>> ++
>>
>> Jack
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190904/c19b9d3e/attachment-0001.sig>
More information about the gstreamer-devel
mailing list