Thank you Paul!
My problems are gone. The last of my distortion vanished when I out commented the right channel:
// output t0 PT8211 dac (both L och R)
//AudioConnection c20(mix1, 0, ptout, 0);
AudioConnection c21(mix1, 0, ptout, 1);
I'm not sure why that is. The channels seems to interact...