• 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: Generic AUView problems with SampleAU
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Generic AUView problems with SampleAU (From: Luke Bellandi <email@hidden>)

  • Prev by Date: Re: Using IB to build AU interface
  • Next by Date: Re: AudioUnitParameterUnit requests
  • Previous by thread: Re: Generic AUView problems with SampleAU
  • Next by thread: 3D Audio Unit + Sample Conversion + Performance Hit
  • Index(es):
    • Date
    • Thread