Doesn't list headphones when connected
InsomniacSoftware opened this issue · 2 comments
InsomniacSoftware commented
When the audio is set to "Internal Speakers : Built-in" in the Sound PrefPane, SAS -c
returns "Built-in Output". When I plug in my headphones, the Sound PrefPane changes to "Headphones : Headphone Port" but SAS still returns "Built-in Output".
Is it possible to detect if the "Built-in Output" is actually the internal speakers or connected headphones?
I'm using a Late 2015 iMac running macOS Sierra 10.12.3
zuckschwerdt commented
All possible outputs are listed with AudioSwitcher -a
. We'd need to use a different API to get something like a routing info for the devices.