Mercurial > hg > dmlib
comparison jssmix.c @ 173:fe0c7ae05776
Don't clear mixing interpolation buffers when setting a new sample.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 06 Oct 2012 09:38:16 +0300 |
parents | 255da2a698fe |
children | dc22e3f77c9a |
comparison
equal
deleted
inserted
replaced
172:cfb087000db3 | 173:fe0c7ae05776 |
---|---|
512 c->chSize = size; | 512 c->chSize = size; |
513 c->chLoopS = loopS; | 513 c->chLoopS = loopS; |
514 c->chLoopE = loopE; | 514 c->chLoopE = loopE; |
515 c->chFlags = flags; | 515 c->chFlags = flags; |
516 c->chDirection = TRUE; | 516 c->chDirection = TRUE; |
517 memset(c->chPrevL, 0, sizeof(c->chPrevL)); | |
518 memset(c->chPrevR, 0, sizeof(c->chPrevR)); | |
519 c->chPos.dw = c->chDeltaO.dw = 0; | 517 c->chPos.dw = c->chDeltaO.dw = 0; |
520 | 518 |
521 JSS_UNLOCK(mixer); | 519 JSS_UNLOCK(mixer); |
522 } | 520 } |
523 | 521 |