Re: AudioUnit : how to communicate from DSP to GUI ?
Re: AudioUnit : how to communicate from DSP to GUI ?
- Subject: Re: AudioUnit : how to communicate from DSP to GUI ?
- From: Benjamin Golinvaux <email@hidden>
- Date: Sat, 12 Oct 2002 09:55:38 +0200
C++ linkages between different libs is a dangerous and problematic
area,
*especially* if an exception can be thrown across the library boundary.
Am I right in assuming that if the components for view and
for the audiounit itself are compiled into the same library, a blind
cast to/from void* and then calling c++ methods is ok, provided the cast
is done on the same typed pointer (to avoid weird inheritance pointer
offsets) ?
Alternatively, you can use private properties - or parameters to do
this, if
you just need to pass data values to/from the AU and its view.
Ah great ! Is there a way to prevent a host (such as logic 5.4) from
displaying
those parameters into its generic view ? That would indeed be much
cleaner
than the c++ ptr hack......
Thanks
Benjamin Golinvaux
Arboretum Systems, Inc.
www.arboretum.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.