How to Resolve the Flash Player Sound bug in Debian Wheezy
Since the latest updates to glib, flash player's playback for mp3 audio is very "choppy" and distorted at best. Please see bug #638477 for more information on this issue as well as a general background on what caused the bug.
Credit for the patch of this bug goes to: http://www.linux.org.ru/forum/talks/5663681
1.) Make sure you run "apt-get update".
2.) if you don't have it installed already you must install the package "bspatch" (now known as bsdiff)
sudo apt-get install bspatch
How to patch
1.)Download the bspatch file that we will be applying to the flash plugin
2.)Next, rename the existing "faulty" flash plugin
sudo cp /usr/lib64/flashplugin-nonfree/libflashplayer.so /usr/lib64/flashplugin-nonfree/libflashplayer.so.old
3.)Now we need to apply the patch. Make sure your browser windows are closed or you may not notice that the patch worked
sudo bspatch /usr/lib64/flashplugin-nonfree/libflashplayer.so.old /usr/lib64/flashplugin-nonfree/libflashplayer.so ./memcpy-10.3.162.29.bsdiff
If you followed all the steps above, you should have a now functional flash player.
SPECIAL NOTE FOR CHROME USERS:
If you are running chrome, Like I am, there are a few extra needed steps in order to get flash working. Because chrome runs out of the /opt/ directory, since it is not a regular debian package obtained from APT, you need to point chrome to the right location of the patched flashplayer plugin.
In order to do this, you must first remove the old flashplugin by typing:
Next we need to create a symlink to the location of the patched plugin:
ln -s /usr/lib64/flashplugin-nonfree/libflashplayer.so Simple as that! Restart chrome, and you should be good to go!