This not only decreases the amount of XBIOS calls but also avoids repeating the sample buffer in case of a heavier CPU load. Also clean up the mixer code.