• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Audio driver outside kernel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Audio driver outside kernel
      • From: Brian Willoughby <email@hidden>
References: 
 >Re: Audio driver outside kernel (From: "try another" <email@hidden>)

  • Prev by Date: Re: MP3 Frames vs Packets
  • Next by Date: Re: AudioFileOpen
  • Previous by thread: Re: Audio driver outside kernel
  • Next by thread: Re: Audio driver outside kernel
  • Index(es):
    • Date
    • Thread