Thanks for your concern, but the messages pop up when I disconnect the USB 
audio device, so they are perfectly expected. The implementation is supposed to 
handle such cases graciously, which it does. But the (expected) messages 
clutter the output, and I would at least like to be able to suppress them via 
loglevels.



Skickat från min LG-Mobil





------ Ursprungligt meddelande------

Från: mxa

Datum: ons, 10 jan 2018 20:20

Till: [email protected];

Ämne:Re: Re : Excessive log messages



Hi Robert,

I also recently implemented an audio server plugin and can recommend reading 
those messages more carefully instead of silencing them. They were quite 
crucial to me when debugging certain issues within the plugin. Your snippet 
also indicates some errors already.

Cheers,
Max


From: Robert Bielik <[email protected]><mailto:[email protected]>
Reply: Robert Bielik <[email protected]><mailto:[email protected]>
Date: 10. January 2018 at 19:22:33
To: [email protected] 
<[email protected]><mailto:[email protected]>
Subject:  Re : Excessive log messages

Hi all,

I'm currently implementing a CoreAudio audio-backend for an internal framework, 
using the AUHAL abstraction. During its use, I get a lot of messages like:

...
HALC_ProxyIOContext.cpp:1399:IOWorkLoop:  HALC_ProxyIOContext::IOWorkLoop: 
failed to send the final message to the server, Error: 0x10000003
HALC_ProxyIOContext.cpp:958:IOWorkLoop:  HALC_ProxyIOContext::IOWorkLoop: the 
server failed to start, Error: 0x6E6F7065
HALC_ShellPlugIn.cpp:1112:HAL_HardwarePlugIn_DeviceStop:  
HAL_HardwarePlugIn_DeviceStart: no device
HALPlugIn.cpp:536:DeviceStopIOProc:  HALPlugIn::StopIOProc: got an error from 
the plug-in routine, Error: 560947818 (!obj)
HALC_ShellPlugIn.cpp:990:HAL_HardwarePlugIn_DeviceDestroyIOProcID:  
HAL_HardwarePlugIn_DeviceDestroyIOProcID: no device
HALPlugIn.cpp:454:DeviceDestroyIOProcID:  HALPlugIn::DeviceCreateIOProcID: got 
an error from the plug-in routine, Error: 560947818
HALC_ShellPlugIn.cpp:811:HAL_HardwarePlugIn_ObjectHasProperty:  
HAL_HardwarePlugIn_ObjectHasProperty: no object
HALC_ShellPlugIn.cpp:811:HAL_HardwarePlugIn_ObjectHasProperty:  
HAL_HardwarePlugIn_ObjectHasProperty: no object
HALC_ShellPlugIn.cpp:811:HAL_HardwarePlugIn_O
...

Is there a way to either redirect those messages (from cout) or to stop them 
altogether ?

Regards
/Robert

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/mxa%40posteo.net

This email sent to [email protected]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to