Has anyone else been successful at getting device notifications on the MacOS using JUCE? I’ve copied in the code from Apple:
which compiles, but I never get a notification of arrival or depature of a device.
The one thing I can’t do is call CFRunLoopRun() at the end. I assume that at some low level the JUCE application classes are calling something that starts the RunLoop. Does it suffice to CFRunLoopAddSource() with the new events to listen for without calling CFRunLoopRun()?