Re: (UPDATE) First instance of plugin controls all other instances?
Re: (UPDATE) First instance of plugin controls all other instances?
- Subject: Re: (UPDATE) First instance of plugin controls all other instances?
- From: ipmlists <email@hidden>
- Date: Thu, 3 Feb 2011 10:11:45 +0000
On 3 February 2011 09:19, Artemiy Pavlov <email@hidden> wrote:
> Hi all!
>
> It is a very interesting issue.
>
> My old plugins which were made with Apple's Cocoa template, using standard
> Cocoa UI elements, also have this behavior. However, they do not have any
> local variables at all. Everything is done via "parameter changed" actions
> which are defined in the @interface bit. Still, the very first plugin
> instance is controlling all other instances.
>
> So even if you follow Apple's standard Cocoa AU tutorial, you end up with
> this behavior. I cannot see any documentation that would say what I need to
> do.
>
> How are you guys solving this?
IIRC the 'parameter' array in Apple's template is (or was when I last
looked) declared as a global
rather than an instance variable, in which case changing that should
fix it. See this thread:
http://lists.apple.com/archives/coreaudio-api/2008/Oct/msg00066.html
hth
Iain
_______________________________________________
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