Re: 2in1: MusicDevice & MidiEffect
Re: 2in1: MusicDevice & MidiEffect
- Subject: Re: 2in1: MusicDevice & MidiEffect
- From: Marc Poirier <email@hidden>
- Date: Fri, 10 Dec 2004 18:20:57 -0500
I've done this (with Pluggo) and it is not as simple as you are hoping.
You need to handle Component selectors specific to MusicDevices and a
few other things. Anyway, when you start tinkering, and testing with
auval, you will see what needs to be done...
Marc
On Dec 10, 2004, at 7:20 AM, Urs Heckmann wrote:
Hiya,
I want to create a .component that contains both Effects and
Instruments.
As I would like to avoid redundancies, I want to create a derivate of
AUBase that can handle both 'aumu' and 'aumf', so that each AudioUnit
in the package has the same EntryPoint.
It would then query the ComponentDescription to find out about the
Type and SubType, so to setup its parameters, state and properties
accordingly.
Now. I think the easiest way would be sublassing from MusicDeviceBase
and overriding SaveState/RestoreState to deal with 'aumf' if desired,
set ProcessInPlace, copy/paste AUEffectBase::ProcessBufferLists() etc.
Is there anything else I should consider / take care of?
Thanks,
;) Urs
P.S.: I feel your pain, Doug and Bill, but you knew someone would come
up with this, right? 8-))
urs heckmann
email@hidden
www.u-he.com
_______________________________________________
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