• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: parameters not showing up in host
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: parameters not showing up in host (From: Brian Whitman <email@hidden>)

  • Prev by Date: Re: DLS Synth and 10.2.3
  • Next by Date: Re: parameters not showing up in host
  • Previous by thread: Re: parameters not showing up in host
  • Next by thread: CoreMidi and Virtual EndPoints
  • Index(es):
    • Date
    • Thread