Need help to write C code for USB Audio Class v1.0 microphone device.
Hello. As far as I can tell there are not any current posts for this issue, but if I have missed them, I apologize.
I am trying to write C code interface to a UAC microhpne device using the /linux/usb/audio.h header file. It seems that only the kernel uses this file, but my end goal is to create and use an extension unit to the USB Audio Class. Does anyone have experience with UAC devices and extension units? I have used UVC with extension units before, but it seems the audio world is different. Should I be using a different method to access the device instead of the UAC drivers directly? I have found zero code examples using audio.h. Should I be using ALSA for this? I will be searching for XUs and ALSA in the mean time, but so far a day and a half of searching for direct use of the UAC driver has yielded zero good result. I would be using version 1.0 for now to ensure cmopatibility with older kernels. Any help or pointers would be appreciated.
This would be for kernels 2.6.32 to the present. If I can get started with the current kernels, then back porting should not be an issue.
Thanks in advance!!
|All times are GMT -5. The time now is 02:12 AM.|