Fish Wang says to Ow< [MSFW]
if (sources[i]->transitionCurrent >= sources[i]->transitionLength) { sources[i]->volume = sources[i]->transitionTo;