Go Back   MacRumors Forums > Apple Hardware > Notebooks > MacBook

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 30, 2010, 10:20 PM   #1
iThinkergoiMac
macrumors 68030
 
Join Date: Jan 2010
Location: Terra
Audio Out Turns On/Off Automatically?

I have my MacBook hooked up to a pair of external speakers (M-Audio AV40, for those interested) and I can hear a slight click when the computer hasn't played any sounds for a certain amount time (about 30s to a minute). My PowerBook G4 never did this, so it's not the speakers.

It really gets annoying, is there any way to change this, other than turning the speakers down whenever I'm not using them?
__________________
13" 2009 MBP, 2.26 GHz C2D, 8 GB RAM, 320 GB HDD; 2.2 GHz C2D MB, 6 GB RAM, 160 GB HDD; 32 GB iPod Touch 3G
-FWIW, my handle is iThink_ergo_iMac. There seems to be some confusion on this issue.-
iThinkergoiMac is offline   0 Reply With Quote
Old Sep 30, 2010, 10:22 PM   #2
Intell
macrumors P6
 
Intell's Avatar
 
Join Date: Jan 2010
Location: Inside
It's the sound hardware going into sleep mode.

Use Antipop to prevent it.
__________________
Last edited by Intell; Yesterday at 3:16 AM.
Intell is offline   0 Reply With Quote
Old Oct 1, 2010, 06:25 AM   #3
iThinkergoiMac
Thread Starter
macrumors 68030
 
Join Date: Jan 2010
Location: Terra
Cool, thanks! I figured it was something like that!
__________________
13" 2009 MBP, 2.26 GHz C2D, 8 GB RAM, 320 GB HDD; 2.2 GHz C2D MB, 6 GB RAM, 160 GB HDD; 32 GB iPod Touch 3G
-FWIW, my handle is iThink_ergo_iMac. There seems to be some confusion on this issue.-
iThinkergoiMac is offline   0 Reply With Quote
Old Jan 9, 2013, 10:03 AM   #4
rkaneknight
macrumors newbie
 
Join Date: Nov 2012
I just created a launchd application to fix it.

In command prompt create a file with pico...

pico ~/Library/LaunchAgents/com.my.sound.plist

Put the following text in it. Make sure to replace <your username> with your user's directory.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>com.my.sound</string>

  <key>ProgramArguments</key>
  <array>
    <string>/Users/<your username>/sound_fix.sh</string>
  </array>

  <key>Nice</key>
  <integer>1</integer>

  <key>StartInterval</key>
  <integer>30</integer>

  <key>RunAtLoad</key>
  <true/>

  <key>StandardErrorPath</key>
  <string>/tmp/Sound.err</string>

  <key>StandardOutPath</key>
  <string>/tmp/Sound.out</string>
</dict>
</plist>
Ctrl-x will close it, and hit Yes to save.

Then run
pico ~/sound_fix.sh

Put this in the file.

Code:
#!/bin/sh

say " "
Ctrl-x will close it again hit Yes.

chmod 755 ~/sound_fix.sh

This command allows it to execute.

finally run
launchctl load ~/Library/LaunchAgents/com.my.sound.plist

Good Luck...
rkaneknight is offline   0 Reply With Quote
Old Jan 9, 2013, 02:40 PM   #5
Intell
macrumors P6
 
Intell's Avatar
 
Join Date: Jan 2010
Location: Inside
Quote:
Originally Posted by rkaneknight View Post
I just created a launchd application to fix it.
This is all Antipop is, but Antipop makes it a whole lot simpler.
__________________
Last edited by Intell; Yesterday at 3:16 AM.
Intell is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Notebooks > MacBook

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone 4S Cellular data turns on automatically rak007 iPhone Tips, Help and Troubleshooting 10 Jan 22, 2014 02:00 AM
iCloud turns off automatically on my iPad 2 (iOS 7 GM) mac28mac iOS 7 3 Oct 11, 2013 12:40 AM
Macbook Pro automatically turns on/off macmac11 MacBook Pro 1 Mar 25, 2013 02:17 AM
I thought it automatically turns wifi off when locked Androidfan1x iPod touch 3 Nov 26, 2012 05:25 PM
iMac turns on @7am Automatically erinl5 iMac 3 Sep 3, 2012 01:37 AM

Forum Jump

All times are GMT -5. The time now is 09:12 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC