• 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: John Johnson <email@hidden>
  • Date: Tue, 20 Apr 2010 07:51:54 -0500

Paul, I appreciate all your ideas on this. Seems I just needed a new perspective. I have it (semi) working now, using something similar to SoundflowerBed to route audio between devices. So now my modified diagram looks like this:

Input Device -------> AudioThruEngine \
                                                                       MyDevice <------> Application
Output Device <----- AudioThruEngine /

And this concept at least gets sound to/from my device. But I am experiencing some horrible clicking and the sound is distorted. As I don't know too much about the mechanics of audio buffers, does anybody have any tips or insight on why this occurs?


On Apr 20, 2010, at 2:52 AM, Paul Sanders wrote:

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.
 _______________________________________________
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: "Paul Sanders" <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>)
 >Re: Audio Device Driver (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Capturing currently played audio using CoreAudio on Mac
  • Next by Date: Re: Capturing currently played audio using CoreAudio on Mac
  • Previous by thread: Re: Audio Device Driver
  • Next by thread: Re: Audio Device Driver
  • Index(es):
    • Date
    • Thread