From 32f5ceb21223c6bfb06c4cdbc3a76f7016da32d9 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sat, 10 Jan 2015 23:28:41 -0800 Subject: [PATCH] Fixed playptmod playing channels out of phase with each other --- Frameworks/playptmod/playptmod/playptmod.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Frameworks/playptmod/playptmod/playptmod.c b/Frameworks/playptmod/playptmod/playptmod.c index 169e5c39d..5d3348495 100644 --- a/Frameworks/playptmod/playptmod/playptmod.c +++ b/Frameworks/playptmod/playptmod/playptmod.c @@ -471,6 +471,9 @@ static void mixerSetChSource(player *p, int ch, const signed char *src, int leng v->step = step; v->interpolating = 1; + resampler_clear(p->blep[ch]); + resampler_clear(p->blepVol[ch]); + // Check external 9xx usage (Set Sample Offset) if (v->loopFlag) {