LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 06-08-2012, 08:33 PM   #1
bduhyba
LQ Newbie
 
Registered: Jun 2012
Location: California
Distribution: Fedora mainly
Posts: 3

Rep: Reputation: Disabled
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!!

Regards,

Brent
 
  


Reply

Tags
audio, driver, drivers


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write an USB device driver? boidi Linux - Kernel 9 07-24-2010 02:39 PM
Why I can't use USB audio device when onboard audio enabled in install RockyZ Fedora 6 03-28-2009 08:40 PM
USB Audio - 5.1 Sound - Microphone - Neither work Virtuality Linux - General 2 12-15-2007 10:06 PM
How i can write to device /dev/usb/hiddev0 ? njel Programming 2 08-17-2004 04:16 AM
USB Audio Class Device Maninux Linux - Hardware 0 09-18-2003 04:28 AM


All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration