How can I fix choppy audio?
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?
Solution 1:
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.
Solution 2:
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.
Solution 3:
For me none of the above worked. My issue appears to have been with adb
(Android Debugging Bridge). I resolved my issue simply by stopping the adb server with the following command: adb kill-server
.
Wanted to share in case anyone else was having the same issue while using adb
This likely does not apply to a lot of people.
Solution 4:
I just ran into a similar issue with Skype 8 (skypeforlinux).
Here are the instructions that solved my pulseaudio configuration problem.
- 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!