Increasing buffer sizes of the alsa card did help me. To make sure the module is loaded with the args, disable autoloading of modules:
: # ### Automatically load driver modules depending on the hardware available # .ifexists module-udev-detect.so # load-module module-udev-detect # .else # ### Use the static hardware detection module (for systems that lack udev/hal support) # load-module module-detect # .endif :
: load-module module-alsa-card device_id=0 tsched=true tsched_buffer_size=1048576 tsched_buffer_watermark=262144 :
Credits:
Pulse client (e.g. mpd) hangs on second connect (play - stop - play) to local ALSA card via pulseaudio. Loading the idle module with a timeout of 0 helped me out:
in /etc/pulse/system.pa
(or default.pa
resprectively):
: load-module module-suspend-on-idle timeout=0 :