16

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?

Zanna
  • 72,312
d3pd
  • 3,791

6 Answers6

26

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.

Joerg S
  • 103
5

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.

Zanna
  • 72,312
XeoNoX
  • 71
  • 1
  • 3
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.

th317erd
  • 131
2

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!

Ben M
  • 21
2

None of the above fixes worked for me (pulseaudio 11.1); what solved it for me was going into /etc/pulse/daemon.conf and turning off realtime-scheduling by adding in the line realtime-scheduling = no beneath the line reading ;realtime-scheduling = yes like so:

;realtime-scheduling = yes
realtime-scheduling = no

This completely fixed the issue for me.

0

I also had same issue. I first watch this => https://www.youtube.com/watch?v=v3Eyu4a1XD4 it didn't solve problem. but i kept all changes which are done according to video. then I enter following command,

$ sudo nano /etc/pulse/daemon.conf

it will open daemon.conf, then locate " ;realtime-scheduling = yes " using arrow down/up and remove " ; " and change it to " realtime-scheduling = no ". then save it (press Ctrl+o then enter)(quit => Ctrl+x). finally, run following command or restart computer.

$ systemctl --user restart pulseaudio.service

it was done job for me. Good luck. :)