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 work when headphones plugged in #12

Open
raafirivero opened this issue Nov 17, 2016 · 1 comment
Open

Doesn't work when headphones plugged in #12

raafirivero opened this issue Nov 17, 2016 · 1 comment

Comments

@raafirivero
Copy link

I'm on MacOS Sierra - the script works fine, and my Mac boots silently, when nothing's plugged into the headphone jack. But I regularly leave headphones in at my office environment. And the chime always goes off when they're in.

@matteoacrossi
Copy link
Owner

Unfortunately this is a known issue. When you plug in headphones the OS, the volume control only affects the the headphone volume. So the script mutes the headphones. But at boot the audio is output to the speakers and this is why you hear the chime.
There doesn't seem to be a solution with Applescript (on which my script is based). A compiled program is needed to overcome this limitation. I might try to delve into this sooner or later...

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

2 participants