fixed inputBufferAdcTime calculation for AdaptingInputOnlyProcess. patch from Yann.
This commit is contained in:
parent
e1cf376aa6
commit
a596358a3d
1 changed files with 1 additions and 1 deletions
|
|
@ -997,7 +997,7 @@ static unsigned long AdaptingInputOnlyProcess( PaUtilBufferProcessor *bp,
|
|||
bp->framesPerUserBuffer, bp->timeInfo,
|
||||
bp->callbackStatusFlags, bp->userData );
|
||||
|
||||
bp->timeInfo->inputBufferAdcTime += frameCount * bp->samplePeriod;
|
||||
bp->timeInfo->inputBufferAdcTime += bp->framesPerUserBuffer * bp->samplePeriod;
|
||||
}
|
||||
|
||||
bp->framesInTempInputBuffer = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue