System audio problems while Android emulator is running

Solution 1:

I did what was written on this link and it solved the problem for me.

In /etc/pulse/default.pa change load-module module-udev-detect to load-module module-udev-detect tsched=0

and in /etc/pulse/daemon.conf change ; default-sample-rate = 44100 to default-sample-rate = 48000

Finally, restart pulseaudio with pulseaudio -k (or you simply restart the computer)