Browse Source

small raw ouput gain change

tags/v1.5
Thierry Leconte 21 years ago
parent
commit
b8d7bc7110
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dsp.c

+ 1
- 1
dsp.c View File

@@ -118,7 +118,7 @@ int n;
} }
mult=(double)Fi*fr/Fc*FreqLine; mult=(double)Fi*fr/Fc*FreqLine;
pvbuff[n]=rsfir(&(ambuff[idxam]),rsfilter,RSFilterLen,offset,mult)*mult*3*256.0;
pvbuff[n]=rsfir(&(ambuff[idxam]),rsfilter,RSFilterLen,offset,mult)*mult*2*256.0;
shift=(int)((RSMULT-offset+mult-1)/mult); shift=(int)((RSMULT-offset+mult-1)/mult);
offset=shift*mult+offset-RSMULT; offset=shift*mult+offset-RSMULT;


Loading…
Cancel
Save