Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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 G5
 
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 10:24 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 G5
 
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 10:24 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

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Macbook Pro (early-2008) won't turn on... oxfordguy MacBook Pro 43 Nov 8, 2012 06:52 AM
Turning AirPort off automatically if disconnected from VPN? PetitBourgeois Mac OS X Server, Xserve, and Networking 0 Nov 19, 2010 10:45 PM
iphone not turning on naeema iPhone Tips, Help and Troubleshooting 1 Nov 16, 2010 10:54 AM
iphone 3g 8g will not turn on notahacker iPhone Tips, Help and Troubleshooting 4 Nov 11, 2010 06:00 AM
A fast way to turn on/off password protection on my Macbook? redfire OS X 0 Jul 12, 2006 02:04 AM


All times are GMT -5. The time now is 08:42 AM.

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

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