Bad Sound in Wine 1.4 under Ubuntu 12.04 12.10 13.04 x64

I did a lot of searching for a solution to this problem. Any programs that I would run with Wine had horrible sound. It was almost like an underrun or something like that. I unfortunately don't have output from the terminal, but thankfully I do have a solution, as posted on Wine's wiki. Just to be clear, the sound I was getting was kind of scratchy, like a "farting" noise. I would get the same scratchy sound when using winecfg's "test sound" button, and it didn't matter what options I chose. So, here's the fix!

(I am seeking confirmation that this fix is usable for Ubuntu 13.10, Fedora Core 19 and Fedora Core 20, OpenSuse 12.3 and OpenSuse 13.1, Redhat RHEL 7, Slackware 14.0 / 14.1, Arch.)

1. Edit your /etc/pulse/daemon.conf using a text editor. e.g.

$ sudo vim /etc/pulse/daemon.conf

2. Scroll down to the line that reads "default-fragment-size-msec = 10"

3. Change the 10 to a 5 and save.

4. Restart pulseaudio or reboot. Maybe. I called "sudo /etc/init.d/pulseaudio restart" but got no output, so this might not be required.

5. Post a comment if this worked for you!

Tags: 

Did you find this post useful? Please leave a small tip using the Paypal button, or consider buying one of the "Suggested Resources" books on the side using my affiliate code (you pay the same price for the book, but I get a small referral fee from Amazon)!

Share This Post