mirror of
https://github.com/airwindows/airwindows.git
synced 2026-05-21 06:46:21 -06:00
Quick SampleDelay Bugfix
This commit is contained in:
parent
6207933640
commit
d72464da96
9 changed files with 12 additions and 12 deletions
|
|
@ -36,7 +36,7 @@ void SampleDelay::processReplacing(float **inputs, float **outputs, VstInt32 sam
|
|||
double drySampleL = inputSampleL;
|
||||
double drySampleR = inputSampleR;
|
||||
|
||||
if (gcount < 1 || gcount > maxtime) {gcount = maxtime;}
|
||||
if (gcount < 0 || gcount > maxtime) {gcount = maxtime;}
|
||||
int count = gcount;
|
||||
pL[count] = inputSampleL;
|
||||
pR[count] = inputSampleR;
|
||||
|
|
@ -105,7 +105,7 @@ void SampleDelay::processDoubleReplacing(double **inputs, double **outputs, VstI
|
|||
double drySampleL = inputSampleL;
|
||||
double drySampleR = inputSampleR;
|
||||
|
||||
if (gcount < 1 || gcount > maxtime) {gcount = maxtime;}
|
||||
if (gcount < 0 || gcount > maxtime) {gcount = maxtime;}
|
||||
int count = gcount;
|
||||
pL[count] = inputSampleL;
|
||||
pR[count] = inputSampleR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue