AudioHardwarePlugIn questions
AudioHardwarePlugIn questions
- Subject: AudioHardwarePlugIn questions
- From: Kris Daniel <email@hidden>
- Date: Fri, 10 Oct 2003 12:16:28 -0700
I'm tasked to develop a CoreAudio driver for a USB device. I know that
with the I/O Kit USB Family I can communicate with the device from
usermode. Additionally, it seems encouraged to avoid kext development
as much as possible, but reading the "Writing Audio Device Drivers"
document, it seems that audio device drivers are kexts.
Poking around in the CoreAudio Framework, I've found the
AudioHardwarePlugIn.h header file, which is an "API for the CFPlugIn
that implements an audio driver for the HAL from user space". This
sounds like exactly what I should be doing. Here's a few introductory
questions:
1.) Am I interpreting AudioHardwarePlugIn.h correctly, in that I can
develop my own CFPlugIn that acts as an audio device for the AudioHAL?
2.) Is there additional documentation regarding how to develop this?
3.) Where would I install the CFPlugIn to, in order for the system to
recognize its presence?
4.) (Possibly off-topic) the device additionally supports MIDI, which
is also done through a CFPlugIn. Is it possible to develop a
system-wide accessible user space device driver, which communicates
with both the MIDI CFPlugIn and the AudioCFPlugIn, and if so, how
should that be bundled? Is there any documentation for such a user
space driver?
5.) Do audio device driver kexts offer superior performance due to
residing in the kernel, or is there any compelling reason to choose a
kext over a user space driver/CFPlugIn?
Thanks in advance.
Kris Daniel
Line 6, Inc.
_______________________________________________
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.