Pulseaudio lags horribly only when Android Studio is running

Solution 1:

Finally I found the root of the issue - it's the ADB daemon.

Killing the daemon fix the problem, but AS will restart it anyway (and for sure it's a bad solution).

The right way is to check the Use libusb backend option in Settings > Build, Execution, Deployment > Debugger > Android Debug Bridge