My memory is hazy on this, and my perspective is from AudioUnits and host applications, but there are some properties that must not change once audio has been started. This includes properties like sample rate, where changes would require memory allocations that cannot occur in the audio processing thread. Basically, it would be far too cumbersome for code to adapt to any change at any time, so only the necessary changes are allowed in real time.
I do not recall whether there is a concrete list from Apple as to which properties can change on the fly and which cannot. Of course, it's clear that audio application developers are not consistent, no matter what the documentation might be. Considering the precedent set in the Windows world of rebooting the entire operating system when settings are changed, I don't think it's too horrible to ask your users to quit the app and relaunch whenever channel element names are altered. This merely suggests that users should decide on meaningful channel names early, and not change them frequently. Brian Willoughby On Apr 14, 2021, at 23:15, Bertrand Van Kempen wrote: > Hi Ed, > > Hum, not cool ;( > Yes I tested with HALLab which properly receives the notifications. > Do you know which others notifications I could use to "force" the > Application/HAL to ask again channels' name? > Otherwise I'll have to inform users to relaunch the application by itself ;( > > Thanks for your help, > Bertrand > > On Apr 14, 2021, at 12:19 PM, Bertrand Van Kempen 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. >> >> >> 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com