void SampleChannel::setFadeOut(int actionPostFadeout) { calcFadeoutStep(); fadeoutOn = true; fadeoutVol = 1.0f; fadeoutType = FADEOUT; fadeoutEnd = actionPostFadeout; }
void SampleChannel::setXFade(int frame) { gLog("[xFade] frame=%d tracker=%d\n", frame, tracker); calcFadeoutStep(); fadeoutOn = true; fadeoutVol = 1.0f; fadeoutType = XFADE; fadeoutTracker = fillChan(pChan, tracker, 0, false); reset(frame); }