An additional update:
Yesterday I was waching a tvheadend tv program previoualy recorded in an external hdd.
at the same time, another program was being recorded by tvheadend.
Sound stuttering was present like once per minute.
When the recording endend, the playback stuttering stopped.
This happened with the current kernel version.
Downgrading kernel to 4.9.29 also fixed this.