So I looked around and found that there is a configuration to be changed:
take a terminal in dom0:
sudo su
(now I am root)
vi /etc/pulse/default.pa
find a section and modify like I did:
### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
##modified 01.11.17
#load-module module-udev-detect
##against glitches
load-module module-udev-detect tsched=0
##-end-modified 01.11.17
So add tsched=0, this disables PulseAudio's timer-based scheduling
and uses the classic interrupt-driven approach
why? see: http://0pointer.de/blog/projects/pulse-glitch-free.html
now say :wq to your vi
then in your root shell of dom0 say
pkill pulseaudio and it restarts, now without distortion or glitches.
My audio hw is:
Creative Labs EMU20K1 (Soundblaster X-Fi Series)
Having a decent sound board one wants no lowfi destorted sound...
So have fun with better audio.
@qubes-os developer. Maybe, you should patch the file
/etc/pulse/default.pa for dom0 accordingly.
Cheers,
Ludwig