Re: Generic AUView problems with SampleAU
Re: Generic AUView problems with SampleAU
- Subject: Re: Generic AUView problems with SampleAU
- From: Chris Reed <email@hidden>
- Date: Fri, 18 Oct 2002 14:58:43 -0500
Thank you!
It would have taken forever for me to figure that out. And that's why
my own AU didn't work either, since I just copied the code.
-chris
On Friday, October 18, 2002, at 02:23 pm, Luke Bellandi wrote:
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.