It’s not you, it’s them. You can send as many notifications as you want, but it won’t do anything if nobody is listening for them.
-Ed P.S. You can use the notification view in HALLab.app to see if you’re actually sending them correctly. > On Apr 14, 2021, at 12:19 PM, Bertrand Van Kempen via Coreaudio-api > <coreaudio-api@lists.apple.com> wrote: > > Hello CoreAudio community, > > > I would like to notify the applications/HAL when the channels' name of my > CoreAudio HAL plugin has changed. > > I try to do it the same way which works for the controls but no success; > Audio MIDI Setup doesn't update the channels' name. > > > Note: Applications only update the names when the number of channels has > changed. > > > > I tries this: > > CADispatchQueue::GetGlobalSerialQueue().Dispatch(false, ^{ > > AudioObjectPropertyAddress theChangedProperties[] = { { > kAudioObjectPropertyElementName, kAudioObjectPropertyScopeInput, > kAudioObjectPropertyElementWildcard }, { kAudioObjectPropertyElementName, > kAudioObjectPropertyScopeOutput, kAudioObjectPropertyElementWildcard } }; > > SA_PlugIn::Host_PropertiesChanged(m_SA_Device.GetObjectID(), 2, > theChangedProperties); > > }); > > > > Is someone know how I should do to notify applications/HAL that the channels' > name has changed? > > > I also noticed that Logic Pro seems to not care about channels' name; I mean > it doesn't display the name provided by theplugin. > > But Reaper properly display them. > > > > Thanks a lot for your help, > > Bertrand > > _______________________________________________ > 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/arwyn%40phasic.com > > This email sent to ar...@phasic.com
_______________________________________________ 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