diff --git a/dsp.c b/dsp.c index 4cbb37f..40998eb 100755 --- a/dsp.c +++ b/dsp.c @@ -110,7 +110,7 @@ int n; } mult=(double)Fi*fr/2400.0*FreqLine; - pvbuff[n]=rsfir(&(ambuff[idxam]),rsfilter,RSFilterLen,offset,mult)*mult*2*256.0; + pvbuff[n]=rsfir(&(ambuff[idxam]),rsfilter,RSFilterLen,offset,mult)*mult*3*256.0; shift=(int)((RSMULT-offset+mult-1)/mult); offset=shift*mult+offset-RSMULT; @@ -133,10 +133,10 @@ int n,res; if(npv>0) memmove(pixelv,pixels,npv*sizeof(float)); - if(npv