6

I have a little Sony VAIO P series computer on which is installed Ubuntu 15.10 running LXDE. I've found that all audio played on the device is choppy, everything from MP4 videos played on VLC, to Skype, to Festival, is choppy. Here is a sound recording to illustrate:

https://clyp.it/vp1j2q2j

From aplay -l, I can see that the hardware playback device is HDA Intel MID ALC275. What could be going wrong and how could I try to fix it?

9

Edit the file /etc/pulse/default.pa.

Find the following line:

load-module module-udev-detect

Change the line to the following:

load-module module-udev-detect tsched=0

Restart PulseAudio:

pulseaudio -k

Should do the trick.

  • Aw yeah! That solved the problem. I've been wanting that solved for more than a year now. Thanks! – d3pd Dec 12 '16 at 21:23
  • Thanks for this solution :) Wonder what this option actually does - and why it is not set by default? – Joerg S Sep 14 '17 at 15:37
  • Thanks! It helped me, with a more horrible audio distortion issue. See also askubuntu.com/questions/371595/… – miguev Nov 2 '17 at 16:26
3

The solution for me was to edit /etc/pulse/daemon.conf

sudo -H gedit /etc/pulse/daemon.conf

Find the line

; resample-method = 

uncomment (remove the ;) and change to

resample-method = src-sinc-best-quality

If the line is not there at all, then add it.

Reboot for changes to take effect.

1

I just ran into a similar issue with Skype 8 (skypeforlinux).

Here are the instructions that solved my pulseaudio configuration problem.

  1. Resolve Choppy sound in (Pulseaudio) -> Skype

In /etc/pulse/daemon.conf two lines has to be also substituted:

; default-sample-rate = 44100

Should become;

; default-sample-rate = 48000

HT: PCFreak.Net

Your mileage may vary. Best of luck!

  • My output was really choppy on CM106 like device (using SPDIF out) and it stopped being that way only after using 96000 default sample rate. I am also using the above suggestions but they did not make a difference themselves. – hakunin Mar 8 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.