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.
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...