Hi guys, for me the following code in CoreAudioInternal is getting hit on wake from sleep: [Edit: Also when plugging/unplugging headphones]
I tested this with latest develop with the Plugin Host, OSX 10.12 (sierra) on a 2012 macbook pro with Built-in Microphone and Built-in Output, and with Aggregate Device.
The commit that added these lines can be found here.
Hi there, this reminds me of something:
Quick follow up: as soon as I get some spare time I'm going to log the sequence of property changes that are triggered in the deviceListenerProc on my setup, and I'm going to paste it it here. If I remember correctly I saw a bunch of properties that were not considered at all within the callback, maybe those could help you in narrowing this thing down.
Since then I’ve bought a new machine so I stopped looking into it.
Thanks masshacker, sorry I missed locating your post before making mine! Yeah same issue, and might just be for older hardware. I’ll dig around the core audio internals then and see if I can spot anything useful.