Re: Invalidating custom data based on clip
Re: Invalidating custom data based on clip
- Subject: Re: Invalidating custom data based on clip
- From: Ben Syverson <email@hidden>
- Date: Mon, 28 Nov 2011 11:26:22 -0600
Ah, yes, that's a great idea!
Thanks Darrin,
Ben
On Nov 28, 2011, at 11:23, Darrin Cardani wrote:
> Ben,
> Each plug-in instance has their -initWithAPIManager: method called, regardless of how they're created. Maybe you could do something like have a singleton which doles out custom IDs, and call it in the -initWithAPIManager: method. Then, whenever you go to use the custom data, if the id for that data doesn't match the id generated in -initWithAPIManager:, you throw it out and generate unique data for it. Would that work?
>
> Darrin
>
> On Nov 28, 2011, at 8:36 AM, Ben Syverson wrote:
>
>> Hi all,
>>
>> I have an FxPlug that generates unique custom data for each clip. I'm concerned that currently, a user can copy the effect and paste it into another effect, and my FxPlug doesn't know that data is now invalid.
>>
>> Is there a convenient way to identify the current clip and compare against it? Or is there a better way of going about this?
>>
>> Or should I just tell users "don't do that?"
>>
>> Thanks,
>>
>> Ben
>>
>> _______________________________________________
>> 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
>
>
_______________________________________________
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