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

Re: AudioReflectorDriver


  • Subject: Re: AudioReflectorDriver
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 20 Oct 2005 12:11:00 -0700

The reflection happens because the input stream shares the same buffer as the corresponding output stream. So, what goes in, comes right back out as a matter of course.

If one were inclined to add processing, you would add it in them methods in ARClip.cpp where the sample format conversions happen. A more advanced driver might make use of the IOAudio family's support for chaining functions to implement the processing.

Note that adding processing is something that would be better accomplished in user-space where mistakes don't panic the machine. Plus, you can use AudioUnits and other goodies that just aren't available in the kernel.

On Oct 20, 2005, at 8:30 AM, Dave Addey wrote:

Hi CA-API,

I’ve been looking through the AudioReflectorDriver code, as a relative newbie to Audio I/O. What I’m wondering is, is it possible to adapt this code to do some munging to the samples before reflecting them back? If so, where would I insert this munging? I can see how the whole device setup happens, but not how the actual mirroring takes place. Of course, I could just be looking in the wrong places (or have the wrong end of the stick).


--

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
References: 
 >AudioReflectorDriver (From: Dave Addey <email@hidden>)

  • Prev by Date: AudioFile APIs
  • Next by Date: Re: Playback hiccups with Quicktime and CoreAudio
  • Previous by thread: AudioReflectorDriver
  • Next by thread: AudioFile APIs
  • Index(es):
    • Date
    • Thread