cwAudioFileOps.cpp : parallel mix now calc's dest location as offset from first section start.
This commit is contained in:
parent
2df3933196
commit
c0678804f1
@ -636,7 +636,8 @@ cw::rc_t cw::afop::parallelMix( const char* dstFn, unsigned dstBits, const char*
|
|||||||
cmArgL[i].srcEndSec = argL[i].srcEndSec + argL[i].fadeOutSec;
|
cmArgL[i].srcEndSec = argL[i].srcEndSec + argL[i].fadeOutSec;
|
||||||
cmArgL[i].srcBegFadeSec = fadeInSec;
|
cmArgL[i].srcBegFadeSec = fadeInSec;
|
||||||
cmArgL[i].srcEndFadeSec = argL[i].fadeOutSec;
|
cmArgL[i].srcEndFadeSec = argL[i].fadeOutSec;
|
||||||
cmArgL[i].dstBegSec = dstBegSec;
|
//cmArgL[i].dstBegSec = dstBegSec;
|
||||||
|
cmArgL[i].dstBegSec = argL[i].srcBegSec - argL[0].srcBegSec;
|
||||||
cmArgL[i].gain = argL[i].gain;
|
cmArgL[i].gain = argL[i].gain;
|
||||||
|
|
||||||
dstBegSec += argL[i].srcEndSec - argL[i].srcBegSec;
|
dstBegSec += argL[i].srcEndSec - argL[i].srcBegSec;
|
||||||
|
Loading…
Reference in New Issue
Block a user