Help using AUGraph inside AUEffectBase
Help using AUGraph inside AUEffectBase
- Subject: Help using AUGraph inside AUEffectBase
- From: Andrew Leininger <email@hidden>
- Date: Tue, 27 May 2008 09:05:55 -0400
I have an idea for an effect where the desired sound is achievable by
using existing Audio Units in series. I'd like to collapse these Audio
Units into one effect unit. From the user's point of view, to get the
desired sound, the user can simply load this one Audio Unit rather
than many in series. From my point of view, I'd like to leverage all
the setup of the AUEffectBase Xcode template, and the AUGraph facility
to wire together the existing Audio Units.
So far, I've been able to use AUGraph in a standalone application,
implementing a portion of the desired effect. I've tried to move that
code into an AUEffectBase project, where I have the AUGraph setup in
my sub class' constructor, but I can't figure out how to route audio
into the graph. I've tried to override The AUKernelBase's Process()
method, the AUEffectBase's ProcessBufferLists() and Render() methods,
in each case trying to use AudioUnitRender() on the graph's output
unit, all without success. Also, I can't see how to use
AUGraphAddRenderNotify().
I greatly appreciate any assistance and comments, and I'll gladly
provide more info as needed.
Andrew
_______________________________________________
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