Re: UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Laurent Pinchart
Hi Devin, On Thursday 25 July 2013 09:11:31 Devin Heitmueller wrote: > On Thu, Jul 25, 2013 at 5:10 AM, Laurent Pinchart wrote: > > Not without dirty hacks. The UVC interfaces don't report whether the > > device has an audio function, the driver would need to look at all the > > interfaces of the

Re: UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Devin Heitmueller
On Thu, Jul 25, 2013 at 5:10 AM, Laurent Pinchart wrote: > Not without dirty hacks. The UVC interfaces don't report whether the device > has an audio function, the driver would need to look at all the interfaces of > the parent USB device and find out whether they match one of the USB audio > driv

Re: UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Laurent Pinchart
Hi Hans, On Thursday 25 July 2013 11:03:13 Hans Verkuil wrote: > Hi Laurent, > > While working on adding alsa streaming support to qv4l2 we noticed that uvc > doesn't set this capability telling userspace that the webcam supports > audio. > > Is it possible at all in the uvc driver to determine

UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Hans Verkuil
Hi Laurent, While working on adding alsa streaming support to qv4l2 we noticed that uvc doesn't set this capability telling userspace that the webcam supports audio. Is it possible at all in the uvc driver to determine whether or not a uvc webcam has a microphone? If not, then it looks like the