Re: Audio driver outside kernel
Re: Audio driver outside kernel
- Subject: Re: Audio driver outside kernel
- From: Jeff Moore <email@hidden>
- Date: Mon, 7 Nov 2005 14:20:38 -0800
On Nov 7, 2005, at 1:02 PM, try another wrote:
I was told that the only way to write a CoreAudio driver was via a
kext.
That is the preferred and easiest way to write an audio driver. This
is the way to go for just about every audio device out there. There
are precious few cases where it makes sense to take on the added
complexity of writing a user-land driver makes sense versus doing the
easy thing by writing a kernel driver.
Is this a new API?
No. Version 1 made it's debut in 10.2.3. Tiger debuted version 3 of
the API.
So I can write a user-land driver for an audio "device" using the
<CoreAudio/AudioHardwarePlugIn.h> API?
Yes, but be aware that this is not the easiest thing to do correctly.
There is no sample code or documentation save what's in the header.
Given that your driver is basically on it's own for implementing the
semantics of the HAL, this is definitely not the path of least
resistance.
Thanks,
This is really good news.
I don't know that I'd say that. Writing a user-land driver is several
orders of magnitude more difficult than writing a kernel driver and
such devices cannot be aggregated. So generally, you're better served
by writing a kernel driver.
Perhaps you should describe the hardware involved and I can help you
pick the correct way to bring it up.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden