/x-tad-bigger>/color>/fontfamily>/x-tad-bigger>/color>/fontfamily> This
is requirements of my driver
:/x-tad-bigger>/color>/fontfamily>
/x-tad-bigger>/color>/fontfamily>/x-tad-bigger>/color>/fontfamily>/x-tad-bigger>/color>/fontfamily>I
need to capture the audio stream from the USB audio class compliant camcorder
at high speed (USB 2.0). Presently mac provides the USB audio class driver but
that work for usb 1.1 only not usb 2.0
. /x-tad-bigger>/fontfamily>
/x-tad-bigger>/fontfamily>
I
have following specifications for my project :/x-tad-bigger>/fontfamily>
/x-tad-bigger>/fontfamily>1) USB
2.0/x-tad-bigger>/fontfamily>
2)
USB audio class compliant camcorder/x-tad-bigger>/fontfamily>
3)
Audio stream has following char : Single input, 1 channel,
PCM, 16bits/resolution ,32 KHz sample
rate/x-tad-bigger>/fontfamily>
4)
I do not need to control volume and other parameters /x-tad-bigger>/fontfamily>
5)
I just need to capture the audio stream/x-tad-bigger>/fontfamily>
6)
I want to make device specific driver only, that need not work
with every application in mac x. But it should work with my
application.(minimal task)/x-tad-bigger>/fontfamily>
/x-tad-bigger>/fontfamily>/x-tad-bigger>/fontfamily>
I
have following questions
: /x-tad-bigger>/fontfamily>
/x-tad-bigger>/fontfamily>1)
Should I look into AudioUSB driver in Darwin and make my own kernel
driver for this purpose?/x-tad-bigger>/fontfamily>
2) What else do I need to do apart from this ? /x-tad-bigger>/fontfamily>
3) What should application use (APIs) to access the audio streams
from my driver ?/x-tad-bigger>/fontfamily>
4) From where should I start writing the audio driver ?/x-tad-bigger>/fontfamily>
5) Are phantom audio ,sampleaudio and samplePCIaudio driver codes
are good enough to start with
?/x-tad-bigger>/fontfamily>
6) Pls suggest good documentation also/x-tad-bigger>/fontfamily>
7) wher does core audio fit into my requirement?/x-tad-bigger>/fontfamily>
8) What is the time estimate for completion of this very very
specific device driver? (I have already worked on USB user space drivers in
mac X )??/x-tad-bigger>/fontfamily>
/x-tad-bigger>/fontfamily>/x-tad-bigger>/fontfamily>
Can you pls help me in writing customized audio driver for my
camcorder which usb audio class compliant and works on high speed?/x-tad-bigger>/color>/fontfamily>
/x-tad-bigger>/color>/fontfamily>
I have studied the PhantomAudioDriver ,SamplePCIDriver,
SampleAudioDriver codes that are there in /developer/examples/iokit. I am also
studying the AppleUSBAudio code .
/x-tad-bigger>/color>/fontfamily>
Do
I need to just modify some parts of this code where the actual streaming
of isochronous frames is done ?/x-tad-bigger>/color>/fontfamily>
/x-tad-bigger>/color>/fontfamily>I
used kextstat to see the status of the audio driver with our camcorder . It
gets loaded but gives the following error in log file ../x-tad-bigger>/color>/fontfamily>
/x-tad-bigger>/color>/fontfamily>
/x-tad-bigger>255 = potentiolaAltInterface failed in
USBAudioObject.cpp at line
222/x-tad-bigger>/color>/fontfamily>
0=
sampleRates failed in USBAudioObject.cpp at line 346/x-tad-bigger>/color>/fontfamily>
/x-tad-bigger>/color>/fontfamily>what
does it mean?/x-tad-bigger>/color>/fontfamily>
Also
I can see our camcorder in Audio midi setup . It shows the right
parameter in input section but it says that output not supported ../x-tad-bigger>/color>/fontfamily>
/x-tad-bigger>/color>/fontfamily>/x-tad-bigger>/color>/fontfamily>
Can you pls give your interpretation of above messages ??/x-tad-bigger>/color>/fontfamily>
Pls
suggest me fastest way to do this task
/x-tad-bigger>/fontfamily>
Regards,