How to Notify parameters changes
How to Notify parameters changes
- Subject: How to Notify parameters changes
- From: Shai Shasag <email@hidden>
- Date: Thu, 10 Apr 2003 23:45:14 +0300
Hi,
I'm implementing automation for my plugin that has custom view component.
Playback of automation is fine but I could not record any parameter
changes under Logic 6.
When the user changes a value (by moving a slider for example) I
call this function:
void CWSAU::SetParameterInternal (long lParamID, long lParamVal)
{
AUEffectBase::SetParameter(lParamID, lParamVal); // update the value
in the global scope / element 0
const AudioUnitParameter inParameter = {GetComponentInstance(),
lParamID, kAudioUnitScope_Global, 0};
OSStatus cErr = ::AUParameterListenerNotify(nil, nil, &inParameter);
// notify outside world
}
This however, does not seem to work as Logic does not record the
change (in touch or write mode)
Using AUParameterSet instead of AUParameterListenerNotify did not help.
Recording of automation does work when using the "controls" mode
instead of "editor" mode.
Thanks,
Shai Shasag
Waves
_______________________________________________
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.