Attaching audio driver to another driver.
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