Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't list headphones when connected #11

Closed
InsomniacSoftware opened this issue Feb 22, 2017 · 2 comments
Closed

Doesn't list headphones when connected #11

InsomniacSoftware opened this issue Feb 22, 2017 · 2 comments

Comments

@InsomniacSoftware
Copy link

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants