Page 1 of 1

sound card in Linux - vlc audio device name

Posted: 20 May 2013 17:02
by popo78
Hi,

What i should set in vlc to capture audio ? i have sound card
cat /proc/asound/cards
0 [Set ]: USB-Audio - C-Media USB Headphone Set
C-Media USB Headphone Set at usb-0000:00:1d.0-1, full spee


input: C-Media USB Headphone Set as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.3/input/input5
generic-usb 0003:0D8C:000C.0001: input,hidraw0: USB HID v1.00 Device [C-Media USB Headphone Set ] on usb-0000:00:1d.0-1/input3
usbcore: registered new interface driver snd-usb-audio


i try to set in vlc audio device name:
/dev/snd/by-id/usb-0d8c_C-Media_USB_Headphone_Set-00
/proc/asound/card0/
/ALSA
/dev/snd/pcmC0D0c
/dev/snd/pcmC1D1c

but nothing works:
main error: open of `alsa:///dev/snd/pcmC1D1c' failed: (null)

thanks for help
pop

Re: sound card in Linux - vlc audio device name

Posted: 22 May 2013 17:52
by RĂ©mi Denis-Courmont
You should specify a valid ALSA capture PCM device string, such as given by 'arecord -L'. See the ALSA documentation for details.

Re: sound card in Linux - vlc audio device name

Posted: 24 May 2013 18:10
by popo78
this works:
hw:1,0
hw:0,0