• 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 10:03:24 -0500

Thanks marc, (I was setting the flags correctly), but:

(2) You didn't add them to the parameter map in your plugin's
constructor. AUBase uses an std vector to store the parameter IDs, so all
you need to do is go through and do an AUBase::SetParameter (if you've
overridden that implementation) for each parameter to make sure that
AUBase "knows" about them and will provide them to a host in a request for
the parameter list property.

In the sample code they do a AUEffectBase::SetParameter for each of the dummy parameters (the Voweler sample code, which has been very helpful, does this too.) Otherwise, the SampleEffectUnit code doesn't override AUBase::SetParameter. It looks like AUEffectBase::SetParameter is a macro for a global call to AUBase's SetParameter, so it should get there eventually (and Voweler seems to do it ok, but that has a custom UI so I'm not sure.)
_______________________________________________
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: parameters not showing up in host
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: parameters not showing up in host
  • Next by Date: Re: parameters not showing up in host
  • Previous by thread: Re: parameters not showing up in host
  • Next by thread: Re: parameters not showing up in host
  • Index(es):
    • Date
    • Thread