• 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 view strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: generic view strangeness


  • Subject: Re: generic view strangeness
  • From: Brian Willoughby <email@hidden>
  • Date: Wed, 7 Nov 2007 20:28:03 -0800

Implement the virtual SetParameter() function in the main AU class. Make sure you call the parent class to handle the normal parameter change behavior.

Brian Willoughby
Sound Consulting


On Nov 7, 2007, at 19:52, Kevin Dixon wrote:

I change the ParameterInfo property when I detect that a certain Parameter
has changed. E.g. The user switches from a Band Pass to a High Pass
filter, so I hide the Bandwidth parameter.
How can I listen for events from a certain Parameter? Thanks,


-Kevin

You shouldn't be making this assessment when you are rendering. There
must be some condition that is being met (or can be assessed) that
would trigger you to change the parameter display info, so you should
do that work and notification at that point.

Bill

On Nov 7, 2007, at 6:00 PM, Kevin Dixon wrote:

First off, please disregard my last email, I have since solved that
issue.

Now here is my question:
In my AU's Render method, I call
PropertyChanged(kAudioUnitProperty_ParameterInfo...)
when it detects that a certain Parameter has been changed that
affects the
appearance of other parameters.
(if the parameter should be shown, I return noErr from
GetParameterInfo,
and if it should be hidden, I return kAudioUnitErr_InvalidParameter)

Now this works fine on an AULab input channel, but I've found that it
doesn't work on an AULab output or in any channels in Logic.

Any suggestions on how this should be done differently so the
ParameterInfo always gets updated as neccesary?
I suspect because Render is not being called, but I'm not sure...

Thanks,

-Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sounds.wa.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >AU crashes Logic but not AULab? (From: "Kevin Dixon" <email@hidden>)
 >generic view strangeness (From: "Kevin Dixon" <email@hidden>)
 >Re: generic view strangeness (From: William Stewart <email@hidden>)
 >Re: generic view strangeness (From: "Kevin Dixon" <email@hidden>)

  • Prev by Date: Re: generic view strangeness
  • Next by Date: Re: User-land CoreAudio driver and Leopard
  • Previous by thread: Re: generic view strangeness
  • Next by thread: Re: AU crashes Logic but not AULab?
  • Index(es):
    • Date
    • Thread