UVC and V4L2_CAP_AUDIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 only way to find the associated alsa device
is to use libmedia_dev (or its replacement, although I wonder if anyone is
still working on that).

And in particular, the presence of CAP_AUDIO cannot be used to determine
whether the device has audio capabilities, it can only be used to determine
if the V4L2 audio ioctls are supported. That would have to be clarified in
the spec.

Regards,

	Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux