Re: Is it possible to nest audio units
Re: Is it possible to nest audio units
- Subject: Re: Is it possible to nest audio units
- From: William Stewart <email@hidden>
- Date: Tue, 24 Nov 2009 10:56:24 -0800
On Nov 24, 2009, at 4:59 AM, Fredrik TiC Jansson wrote: When you say public api i am guessing you mean CAAudioUnit.h then creating an audio unit by first declaring CAAudioUnit FilePlayer; and then calling static OSStatus Open (const CAComponent& inComp, CAAudioUnit &outUnit); with my comp as inComp and my FilePlayer as outUnit. This would then give me my FilePlayer audio unit. This was my first approach but since i always got this error /Users/fredrik/Desktop/LastTry/build/LastTry.build/Development/LastTry.build/Objects-normal/i386/LastTry-C8D75827.o reference to undefined CAAudioUnit::~CAAudioUnit()
you have to add CAAudioUnit.cpp to the project
My guess whas that this API was not supposed to be used inside of AudioUnits. What am i missing ?
no, you can use APIs anywhere. CAAudioUnit is just a wrapper around the API in <AudioUnit/AUComponent.h>
I ad my headers inside of Xcode in the public utility folder before i include them in my own h file(mabye this is what i am doing wrog?)
Bill
|
_______________________________________________
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