Greetings,

In Big Sur (11.0.1), building with Xcode 12.2 and the MacOSX11.0 SDK, it
seems like my AUv2 plugins never receive parameter change notifications. I
have tried using AUListenerCreate, AUEventListenerCreate, and
AUListenerCreateWithDispatchQueue
to no avail. For example, here is one such setup: OSStatus result =
AUListenerCreate(
      &AuPlugin<T>::OnParameterChanged,
      this,
      CFRunLoopGetMain(),
      kCFRunLoopDefaultMode,
      0.05,
      &m_parameterListener);

and then for each parameter:

AudioUnitParameter parameter;
parameter.mAudioUnit = GetComponentInstance();
parameter.mElement = 0;
parameter.mParameterID = iParameter;
parameter.mScope = kAudioUnitScope_Global;

OSStatus result = AUListenerAddParameter(m_parameterListener, this,
&parameter);

Testing this in Logic 10.6.0, REAPER 6.40.0, and Studio One 5.0.2, the
OnParameterChanged callback does not seem to be called.

However, if I test the same Audio Unit in High Sierra (10.13.6), the
callback *is* called.

Did something change in Big Sur that would prevent the callback from being
called? Is there something additional that I need to do?

Thanks,
--Ian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (Coreaudio-api@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to