Hi guys, for me the following code in CoreAudioInternal is getting hit on wake from sleep: [Edit: Also when plugging/unplugging headphones]
case kAudioObjectPropertyOwnedObjects:
intern->stop (false);
intern->owner.deviceType.triggerAsyncAudioDeviceListChange();
break;
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. https://github.com/WeAreROLI/JUCE/commit/979d3b62a207493ee98ee11a6ebea216e3c9856a