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


[Merging_Audio_For_The_Networking_Age_With_Flag_72dpi.png]
_________________________________________________________

Bertrand van Kempen, AoIP Project Manager
Senior Software Engineer
Le Verney 4, CH-1070 Puidoux, Switzerland
+41 (0)21 946 04 44
bvankem...@merging.com<https://mail.merging.com/owa/redir.aspx?C=P4yMqCzkI5bfjnxcJSuJ0b620PbDg6GfI12bVqo7PqpAaJTkOwnUCA..&URL=mailto%3alandrieu%40merging.com>
www.merging.com<https://mail.merging.com/owa/redir.aspx?C=ZeOXtzPR0wGhH_Hq0XWtbPw-zDx2RsId3uR24fe0O45AaJTkOwnUCA..&URL=http%3a%2f%2fwww.merging.com%2f>
"Vita brevis est"
________________________________
From: Ed Wynne <ar...@phasic.com>
Sent: Wednesday, April 14, 2021 6:22:56 PM
To: Bertrand Van Kempen
Cc: coreaudio-api@lists.apple.com; bertrand.vankem...@gmail.com
Subject: Re: kAudioObjectPropertyElementName notification from plugins ignored 
by HAL/Applications

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<mailto: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<mailto: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

Reply via email to