Re: audio kext plugin
Re: audio kext plugin
- Subject: Re: audio kext plugin
- From: Laurent Humbert <email@hidden>
- Date: Mon, 4 Nov 2002 23:03:18 +0100
At 14:18 -0600 11/4/02, Mark Ketilson wrote:
Hi,
I am a new apple developer and I am beginning to write a USB audio
device plugin to control some of the extra device features. I've
looked at AudioDriverPlugIn.h and at AudioHardware.h but I'm having
trouble getting a good start. If someone could direct me to an
example or some documentation that would be super helpful.
Visit this page:
http://developer.apple.com/audio/
I guess the starting point for audio drivers is this document:
http://developer.apple.com/techpubs/macosx/Darwin/IOKit/DeviceDrivers/WritingAudioDrivers/WritingAudioDrivers.pdf
Check out the PhantomAudioDriver framework in the
/Developer/Examples/Kernel/IOKit/Audio
directory of your hard disk.
When it comes to USB, get hold of the AppleUSBAudioDriver source
code, available on the Darwin web site.
http://developer.apple.com/darwin/projects/darwin/
The code's rather complex, as it must support all sorts of devices,
but it should be possible for you to adapt it for your device.
I've looked briefly at the CoreFoundation documentation on plugins
but they seem to apply more to applications... are things different
for kext plugin's? Also, would the midi plugin examples be a good
template?
Audio drivers are different from MIDI drivers. MIDI drivers are
user-space CFPlugin's, whilst audio drivers are IO/Kit kernel
extensions (.kext).
Apple provides the source code to a working USB MIDI Plugin in:
/Developer/Examples/CoreAudio/MIDI/SampleUSBDriver
Have fun
L
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.