• 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 Device Driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Device Driver


  • Subject: Re: Audio Device Driver
  • From: "Paul Sanders" <email@hidden>
  • Date: Tue, 20 Apr 2010 08:52:00 +0100

Two other things I recalled after I posted (never post after tea-time):
 
1.  As you probably noticed, the SoundFlower kernel extension actually implements two CoreAudio devices (one 2 channel and one 16 channel) so you're actually pretty much there already.
 
2.  There is a promising-looking sample driver in the CoreAudio SDK, downloadable from:
 
        http://developer.apple.com/sdk/
 
and then, after installing the SDK, look in:
 
        /Developer/Examples/CoreAudio/HAL/AudioReflectorDriver
 
HTH, although kernel-mode development is never simple. 
 
Paul Sanders.
 
----- Original Message -----
From: Paul Sanders
To: John Johnson
Cc: email@hidden
Sent: Monday, April 19, 2010 11:57 PM
Subject: Re: Audio Device Driver

> What I need is this:
>
> Input Device --------> [in]MyDevice ---------> [in]  \
>                                          <>   <>                                 Application
> Output Device <----- MyDevice[out] <--------[out] /
>
> where the application only speaks to my device driver.
 
What would achieve that, in principle, is two instances of the SoundFlower driver loaded, one for each direction.  I imagine this could be achieved by building a second copy which registers itself under a different name.  But you are now beyond the limit of my competence and maybe there is a more elegant way.
 
Anyway, the obvious thing to do is to study the SoundFlower sources.  I imagine that will answer your other questions and generally get you moving in the right direction.  Then erect a 'Chinese wall' and write your own driver :)
 
Paul Sanders.
 _______________________________________________
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 Device Driver
      • From: John Johnson <email@hidden>
References: 
 >Audio Device Driver (From: John Johnson <email@hidden>)
 >Re: Audio Device Driver (From: "Paul Sanders" <email@hidden>)
 >Re: Audio Device Driver (From: John Johnson <email@hidden>)
 >Re: Audio Device Driver (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Audio Device Driver
  • Next by Date: DVCPROHDAudio.plugin freezes at instantiation
  • Previous by thread: Re: Audio Device Driver
  • Next by thread: Re: Audio Device Driver
  • Index(es):
    • Date
    • Thread