I know that the problem has already been solved, but nobody posted the solution, and this post on LQ was the first thing that showed up on
DuckDuckGo. Would have been nice if the information had been right there for me when I needed it, so I'm posting what I've found.
Here it is:
We're going to need to edit /etc/pulse/daemon.conf as root.
For Ubuntu (or really any distribution using Gnome), open up the terminal and paste (ctrl+shift+V, if using your keyboard):
Code:
sudo gedit /etc/pulse/daemon.conf
*use kwrite for KDE, leafpad for LXDE, etc.
Gedit (or your text editor, if not gedit) should pop up with the file.
Find the lines: (hint: they're at the end of the file | use ctrl+F if you're lazy :P)
Code:
; default-sample-format = s16le
; default-sample-rate = 44100
...And change their values. I would personally change only one at a time, starting with the sample rate. Accepted ones are generally: 44100, 48000, 96000, and [rarely] 192000. Decomment the line when you are done. For example:
Code:
default-sample-rate = 48000
Restart at your leisure.
...You restarted, right? Make sure the audio is working. If not, try a different sample rate or recomment out the line. If it is, indeed working, it's time to change the sample-format. There are actually a crapload of values for this; unfortunately, the only way I know of to find the best value is trial and error. Keep going to a higher value (restarting each time) until it no longer works. Here are the 24 and 32 bit values:
Code:
s24le s24-32le s32le float32le
s24be s24-32be s32be float32be
As the default is s16le, it's probably a good idea to start with the *le ones if Pulseaudio was working with the default value.
Example:
Code:
default-sample-format = s24le
Assuming everything went well, your audio should now be amazing, just like it would be in Windows.
Source:
http://lists.freedesktop.org/archive...ay/006917.html