VLC specifying audio capture device
I need to capture from my webcam. It has a mic too.
I can specify video input device as /dev/video0.
I specified input audio device as /dev/dsp2 ( OSS device, corresponding to USB Webcam), Now VLC throws an error, "VLC is unable to open the MRL 'alsa:///dev/dsp2'. Check the log for details"
Thinking it wants an alsa device, I specify device as /dev/snd/pcmC2D0c. (got it from kinfocenter and dolphin). Now again an error, "VLC is unable to open the MRL 'alsa:///dev/snd/pcmC2D0c'. Check the log for details.".
I try with any device, the same error. I have added myself to audio device so that I can read/write to the mentioned devices.
I see no way of switching VLC to use OSS. And I see no information (documentation on net) on it's expected device listing for audio.
If I do not specify device, the default mic is used which is not good
How to specify audio device for VLC?