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 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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 ]$ 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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (201 bytes) Download Attachment |
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 >> [hidden email] >> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (499 bytes) Download Attachment |
Free forum by Nabble | Edit this page |