![]() |
![]() |
![]() |
GStreamer Good Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
HalAudioSrc allows access to input of sound devices by specifying the corresponding persistent Unique Device Id (UDI) from the Hardware Abstraction Layer (HAL) in the udi property. It currently always embeds alsasrc as HAL doesn't support other sound systems yet.
To list the UDIs of all your ALSA input devices :
hal-find-by-property --key alsa.type --string capture
Here is a pipeline to test your sound input :
gst-launch -v halaudiosrc udi=/org/freedesktop/Hal/devices/pci_8086_27d8_alsa_capture_0 ! autoaudiosink
You should now hear yourself with a small delay if you have a microphone connected to the specified sound device.