Re: AudioReflectorDriver
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