began transition rewrite

This commit is contained in:
itsmattkc
2019-02-17 01:18:03 -08:00
parent 4b5cd8bd26
commit 059e2a1fe8
23 changed files with 2446 additions and 2503 deletions
@@ -31,10 +31,10 @@ void LogarithmicFadeTransition::process_audio(double timecode_start, double time
qint16 samp = (qint16) (((samples[i+1] & 0xFF) << 8) | (samples[i] & 0xFF));
switch (type) {
case TA_OPENING_TRANSITION:
case kTransitionOpening:
samp *= qSqrt(timecode_start + (interval * i));
break;
case TA_CLOSING_TRANSITION:
case kTransitionClosing:
samp *= qSqrt(1 - (timecode_start + (interval * i)));
break;
}