• 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
Getting the AU default parameter editor working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the AU default parameter editor working


  • Subject: Getting the AU default parameter editor working
  • From: Chris Reed <email@hidden>
  • Date: Wed, 2 Oct 2002 20:11:40 -0500

I've finally gotten around to working on my first AU, and I've got it processing audio nicely. But I can't seem to get the default parameter editor view to appear when it's used in AudioUnitHosting.app.

From everything I've looked at (primarily the SampleAU and MultitapAU projects), it seems that all you should have to do is call SetParameter() in your constructor, to define and give each parameter a default value. This fills in the parameter map in the appropriate scope.

The host sees that you don't have a custom editor view and so instantiates the default editor. When the default editor asks for a list of all your parameters, the map you just filled in is used. The AUBase::DispatchGetPropertyInfo() method looks like it responds to kAudioUnitProperty_ParameterList for me, right?

But this is apparently not working for me. Is there anything special you have to do that I'm missing here? Do you have to have respond to kAudioUnitProperty_GetUIComponentList with a value indicating to use the default editor?

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.

  • Follow-Ups:
    • Re: Getting the AU default parameter editor working
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: AU interface consistency
  • Next by Date: Re: Getting the AU default parameter editor working
  • Previous by thread: Re: Project builder and audiounits
  • Next by thread: Re: Getting the AU default parameter editor working
  • Index(es):
    • Date
    • Thread