Is there any API to check which microphone mode is active for my macOS application? There is API to check microphone mode for AVCaptureDevice. But the status bar allows to select Microphone mode for an application that reads Microphone Audio (not for Microphone itself).
Microphone mode
this would be very useful
an application would be to export this metric to external hardware to have more indication of the mic/camera status
something like https://forum.arduino.cc/t/on-air-indicator-for-macoss-mic-and-webcam/654525/2