Re: parameters not showing up in host
Re: parameters not showing up in host
- Subject: Re: parameters not showing up in host
- From: Brian Whitman <email@hidden>
- Date: Tue, 14 Jan 2003 15:07:30 -0500
OK, I figured this out, I'll post it for the next person who runs into
it:
The SampleEffectUnit.cpp code I'm basing off of (is mine an old, bad
version or something?) had the following GetParameterInfo calling stub:
ComponentResult
SampleEffectUnit::GetParameterInfo(AudioUnitParameterID inParameterID,
AudioUnitParameterInfo &outParameterInfo )
And when I looked at Airy's I found that his was slightly different,
with the addition of AudioUnitScope iScope as the first parameter. So I
added it and now it works. Apparently wihtout that AudioUnitScope first
parameter I wasn't overloading the 'proper' GetParameterInfo and it
wasn't jumping from AUBase to AUEffectBase to me.
On Tuesday, January 14, 2003, at 02:29 PM, Brian Whitman wrote:
>
On Tuesday, January 14, 2003, at 11:08 AM, Marc Poirier wrote:
>
>
>
> Yeah, you're right about AUEffectBase::SetParameter, that should work
>
> fine
>
> too. I'm out of ideas... In which host app are the parameters not
>
> showing up?
>
>
>
>
I've tried AudioUnitHosting and the live input effect one, can't
>
remember the name. But here's something new: with some printf
>
'debugging' I found that the GetParameterInfo overload function in my
>
AU is never being called! So the flags are never getting set, nor the
>
names or the ranges, etc. What calls the GetParameterInfo and when
>
does it do it?
>
>
>
>
--
>
Brian Whitman - email@hidden
>
http://web.media.mit.edu/~bwhitman
>
Music, Mind and Machine Group - MIT Media Lab
>
_______________________________________________
>
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.
>
--
Brian Whitman - email@hidden
http://web.media.mit.edu/~bwhitman
Music, Mind and Machine Group - MIT Media Lab
_______________________________________________
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.