2in1: MusicDevice & MidiEffect
2in1: MusicDevice & MidiEffect
- Subject: 2in1: MusicDevice & MidiEffect
- From: Urs Heckmann <email@hidden>
- Date: Fri, 10 Dec 2004 13:20:55 +0100
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