On Feb 15, 2007, at 2:12 PM, William Stewart wrote: Why are you doing this on the AU side? You shouldn't need to as long as your view is listening to the parameter changes messages.
Hi Bill, We call AUParamSet from the process component to set & notify allĀ listenersĀ about the parameter change (this a a VU meter change).
This part is done on the view side (Only once, to set up the listener): // Setting up the listener OSStatus osResults = ::AUListenerCreate(SysListenerProc, this, NULL, NULL, 0, &mParameterListenerRef); osResults = ::AUListenerAddParameter(mParameterListenerRef, NULL, &mCAAUParameter);
This part is done on the process component side whenever a parameter changes: // Sending the parameter change notifications AUParameterSet(NULL, NULL, ¶meterDetails, currFloatValue, 0); |