Re: Generic AUView problems with SampleAU
Re: Generic AUView problems with SampleAU
- Subject: Re: Generic AUView problems with SampleAU
- From: Luke Bellandi <email@hidden>
- Date: Fri, 18 Oct 2002 12:23:22 -0700
This is because the argument list of GetParameterInfo() in
SampleEffectUnit.cpp does not match the argument of GetParameterInfo() in
AUBase.cpp, so it doesn't override the base method, and that's why you're
never getting called.
We've fixed this in the SDK, it will be correct in the next release.
To fix it currently, change the function signature in the declaration and
the function itself to
ComponentResult SampleEffectUnit::GetParameterInfo (AudioUnitScope
inScope, AudioUnitParameterID inParameterID, AudioUnitParameterInfo
&outParameterInfo);
Best,
Luke Bellandi
Core Audio
On 10/18/02 11:01 AM, "Chris Reed" <email@hidden> wrote:
>
I'm still having trouble getting parameters to show up in the generic
>
edit view, so I'm trying to get it to work in the SampleEffectUnit now
>
instead of my code.
>
>
From the recent discussion, it looks like the SampleAU has everything
>
right for the parameters to show up. SetParameter() is called in the
>
constructor to add the params to the global map, and the proper flags
>
(writable, etc) are set in GetParameterInfo(). But if you insert a
>
printf statement in GetParameterInfo(), it's apparent that the method
>
is never called when the generic view is opened.
>
>
Does anyone else have trouble getting the SampleAU's two parameters to
>
show up in the generic edit view?
>
>
Thanks
>
-chris
>
_______________________________________________
>
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.
_______________________________________________
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.