New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

[MacBook Air] How to disable OSX's auto switching of volume when using Headphone Jack


Post Reply New Thread Subscribe

 
Thread Tools
sinetwo

 
Member Since: Oct 28, 2010
Posts: 11
sinetwo is on a distinguished road

sinetwo is offline
Hi all,

I'm writing this as I've now become deaf thanks to Apples 'ingenious' ( ) auto switching volume levels.

Scenario:
1. I use my laptop at full speaker when listening to Spotify. I increase the volume to 100%.

2. I then use my 2.1 system and plug it in. OSX then turns the volume down to 20% (as per my previous headphone settings). I then turn it up again to 100%.

3. I then take the 2.1 system out from the jack, and it's on 100% as per 'scenario step' 1.

4. I plug in my headphones, and turn the volume down, there's a severe (3 seconds?) delay in the Mac noticing I've plugged it in, and it boosts it up to 100% again as per 'scenario step' 2.

So basically, I almost blew my AKG headphones and my brain. This has happened several times before.

I know it's a 'user fault' as this is how it's designed to be. But I've googled relentlessly and not found anything that states you can disable this incredibly horrible feature.

Does anyone know how to disable it totally so I just have one global volume control regardless of if it's playing through the speakers or through the jack?

Thanks!
- SineTwo
QUOTE Thanks
adamjalkemo

 
Member Since: Jan 08, 2012
Posts: 3
adamjalkemo is on a distinguished road

adamjalkemo is offline
Anyone? In-ears on one ear on 100% volume just gave me a nice ringing in my ear.
QUOTE Thanks
Lifeisabeach

 
Lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 7,001
Lifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.9; TV 3; iPhone 5S; iPad 4

Lifeisabeach is offline
The computer has no method of differentiating between a 2.1 speaker system and headphones plugged into the same jack. None whatsoever. No computer would. It's all line-level output. Period. It'd be far more sensible to set the volume to your liking while the headphones are plugged in, then manage the volume for the speakers with volume controls on the speakers themselves, if they have them (most do).


One possible recourse here is to get a USB Audio Interface and use that for the headphones. One example of these devices is iMic. You may be able to use that in conjunction with the freebie SoundSource to set the volume levels independently for the USB device and for the internal sound card, though I can't swear to it. I used to have an iMic, but have long since sold it off so I can't verify this.


Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
------
Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
------
Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.
QUOTE Thanks
adamjalkemo

 
Member Since: Jan 08, 2012
Posts: 3
adamjalkemo is on a distinguished road

adamjalkemo is offline
Quote:
Originally Posted by lifeisabeach View Post
The computer has no method of differentiating between a 2.1 speaker system and headphones plugged into the same jack. None whatsoever. No computer would. It's all line-level output. Period. .....
Thank you for your answer.

The thing is, we are not looking for a way to make the macbook differentiate between 2.1s and headphones. Instead, we simply want the macbook to stop adjusting the volume and simply have a global volume setting that is used for all speakers (internally and externally). This way the volume can be lowered before plugging in the headphones.

Hopefully the delay when plugging in a device will disappear then as well.

Does anyone know if this feature is software or hardware based? I think they are the same in windows (after asking a friend), but in Ubuntu for instance? (I myself have not been able to install ubuntu on this computer, for some reason).
QUOTE Thanks
sinetwo

 
Member Since: Oct 28, 2010
Posts: 11
sinetwo is on a distinguished road

sinetwo is offline
Yep, what he said

We're by no means looking at differentiating between 2.1 and headphones, but when you plug sometihng in and hold DOWN on the volume buttons, it lowers the volume but 3 seconds later it could be on 100% as per the previous volume setting and you end up blowing your ears off.

An external USB soundcard isn't really a good solution? It'll eliminate the use of the internal speakers. I'm certain this could be a straight forward OS patch/hack if it does exist.
QUOTE Thanks
sinetwo

 
Member Since: Oct 28, 2010
Posts: 11
sinetwo is on a distinguished road

sinetwo is offline
Actually, here's a solution (albeit a hack)!

mac - Set the default headphone volume on OSX? - Super User
QUOTE Thanks
Lifeisabeach

 
Lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 7,001
Lifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.9; TV 3; iPhone 5S; iPad 4

Lifeisabeach is offline
Quote:
Originally Posted by adamjalkemo View Post
Thank you for your answer.

The thing is, we are not looking for a way to make the macbook differentiate between 2.1s and headphones. Instead, we simply want the macbook to stop adjusting the volume and simply have a global volume setting that is used for all speakers (internally and externally). This way the volume can be lowered before plugging in the headphones.

Hopefully the delay when plugging in a device will disappear then as well.
It took me a bit of time and reading around to figure out what you are asking. For clarity here to anyone reading, OS X does maintain separate volume levels for the internal speakers and for headphones/2.1 speakers that are plugged into the headphone jack. If you plug in headphones, OS X will remember what the volume level was when using the internal speakers and automatically restore it when you unplug the headphones. And vice versa. This is all stored in the PRAM.

What you are looking to do is have a "default" volume that is lower than what may have been used and auto-remembered before you plugged the headphones in. Or perhaps better said... stop OS X from storing the last-used volume level when plugging/unplugging headphones. I've done some extensive Googling to find a way to force the OS to auto-drop the volume level, and unfortunately there is really no documentation or ready-made solutions for this. Luckily for you, I'm extremely stubborn and refuse to admit defeat. Here is a solution I have worked out:

First, run AppleScript Editor and make a new script with this exact entry:
Code:
set volume 1
Press the Compile button in the toolbar, then save the script to:
yourhomefolder/Library/Scripts

Next, download a freebie named Breakaway. This runs as a menubar extra. Launch it, access its preferences, then click on Plugins in the toolbar. Uncheck the iTunes plugin and put a checkmark next to AppleScript Plugin and create a new trigger. Drag the script you made earlier to the box on the right under Run script, then put check marks next to the desired options. Once done, make sure you have a checkmark on your trigger so it is active, just like this screenshot:

Breakaway.jpg

Once done, any time you plug or unplug your headphones, the volume will drop to "1". You can modify this to something higher, or 0 for mute if you like. There is a fraction of a second of a delay in the volume adjusting, but it's virtually unnoticeable and easily the best solution available. You can also consider using the iTunes plugin. What it does is pause iTunes when headphones are unplugged. However, my tip is valid across any app with audio.


Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
------
Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
------
Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.
QUOTE Thanks
Lifeisabeach

 
Lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 7,001
Lifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.9; TV 3; iPhone 5S; iPad 4

Lifeisabeach is offline
Quote:
Originally Posted by sinetwo View Post
Actually, here's a solution (albeit a hack)!

mac - Set the default headphone volume on OSX? - Super User
LOL! I never ran across that article, but is close to what I just spent the past two hours working out.


Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
------
Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
------
Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.
QUOTE Thanks
adamjalkemo

 
Member Since: Jan 08, 2012
Posts: 3
adamjalkemo is on a distinguished road

adamjalkemo is offline
Quote:
Originally Posted by lifeisabeach View Post
It took me a bit of time and reading around to figure out what you are asking. For clarity here to anyone reading, OS X does maintain separate volume levels for the internal speakers and for headphones/2.1 speakers that are plugged into the headphone jack. If you plug in headphones, OS X will remember what the volume level was when using the internal speakers and automatically restore it when you unplug the headphones. And vice versa. This is all stored in the PRAM.

...
Thank you so much for this guide! A reboot was required for me and then it worked. Hope this thread will be easy to find for the next person.

I can add to the discussion that this seems to be an OS X feature, it does not happen in Ubuntu.

Again, thank you!

Adam
QUOTE Thanks

Post Reply New Thread Subscribe


« OnyX2.0.6 | Finder: Am I missing something really obvious? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How can I set default plug in volume for jack output? Platerising Apple Notebooks 0 10-27-2010 11:57 PM
headphone piece lodged inside headphone jack ajeff63 Apple Notebooks 2 07-16-2009 12:00 PM

All times are GMT -4. The time now is 10:04 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?