Re: question on refreshing parameter data between instances.
Re: question on refreshing parameter data between instances.
- Subject: Re: question on refreshing parameter data between instances.
- From: Brian Gardner <email@hidden>
- Date: Fri, 14 Aug 2009 18:13:39 -0700
Good point, Steve.
It does sound like arrays were a bad idea.
I do like Darrin's suggestion of using NSNotifications.
Seems more stable.
I'll assume that NSNotifications doesn't
have a similar issue, and will work properly even if the
particular clip isn't currently being directly worked on.
(Is that a valid assumption?)
-- Brian
This makes the assumption that a plugin instance is created for each
clip that uses your effect and that the instance will hang around in
memory until either that clip is removed, the project is closed or
the host app quits. I don't know the underlying architecture but
it's just as likely that plugin instances are created as needed and
then destroyed if you're not currently working with a particular clip.
If you create an array and add instances to it, you -could- end up
with a bunch of stale items that no longer refer to real clips and/
or conflict with the plugin instance that now manages your effect
for a particular clip.
...
steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden