• 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
Attaching audio driver to another driver.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attaching audio driver to another driver.


  • Subject: Attaching audio driver to another driver.
  • From: email@hidden
  • Date: Fri, 22 Jun 2001 15:31:53 -0700

Hi guys,

Another step here. We already have a driver that runs our hardware,
however, we want to expose an audio-driver interface for our hardware too.
The main driver will match against our hardware installed on the system,
and thus get's a call to it's ::start routine. Now, how do I go about
correctly exposing the Audiodriver interface?

Since it doesn't "Match" anything, it won't call the
AudioEngine::initHardware routine. Is it up to our "Parent" driver to
instantiate the class, and call the initHardware routine? If that is the
case what do I send down as the IOService *provider for those init
procedures?

Should I send the IOService *provider from the "parent" driver, or simply
not pass that in and don't call the super::initHardware(provider) routines
(Is there a dependance on these calls for the audio system?)

Thanks
James


  • Follow-Ups:
    • Re: Attaching audio driver to another driver.
      • From: Laurent Cerveau <email@hidden>
  • Prev by Date: Re: Converting from INT to Float samples
  • Next by Date: Re: Converting from INT to Float samples
  • Previous by thread: Re: Converting from INT to Float samples
  • Next by thread: Re: Attaching audio driver to another driver.
  • Index(es):
    • Date
    • Thread