Hi, I am working on a test environment for V4L2 API ( http://v4l-test.sourceforge.net/ ). This testbench shall test any kernel space driver automatically (or as less as possible user assistance) which implements V4L2 API.
I would like to ask for some help because I have a problem understanding VIDIOC_V_AUDIO specification in V4L2 API revision 0.24 at http://v4l2spec.bytesex.org/spec/r9539.htm . V4L2 API specification revision 0.24 says: > To query the current audio input applications zero out the reserved array of > a struct > v4l2_audio and call the VIDIOC_G_AUDIO ioctl with a pointer to this > structure. Drivers > fill the rest of the structure or return an EINVAL error code when the device > has no > audio inputs, or none which combine with the current video input. I understand this so that the driver shall *ignore* the "index" value in struct v4l2_audio and overwrite it with the current setting. However, the current V4L2 driver implementations differ in this point: some threats the "index" field as an input parameter of VIDIOC_G_AUDIO (which I think is a wrong implementation) and others just gives back the current audio input as I expect. Am I understand the V4L2 API specification correctly? Regards, Márton Németh ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
