|
Removed
Link Here
|
| 1 |
|
| 2 |
$FreeBSD: ports/audio/sox/files/patch-src_noisered.c,v 1.1 2004/12/24 08:10:52 krion Exp $ |
| 3 |
|
| 4 |
--- src/noisered.c.orig |
| 5 |
+++ src/noisered.c |
| 6 |
@@ -126,6 +126,7 @@ |
| 7 |
* due to overlapping windows. */ |
| 8 |
static void reduce_noise(chandata_t* chan, float* window, float level) |
| 9 |
{ |
| 10 |
+ int i; |
| 11 |
float *inr = (float*)calloc(WINDOWSIZE, sizeof(float)); |
| 12 |
float *ini = (float*)calloc(WINDOWSIZE, sizeof(float)); |
| 13 |
float *outr = (float*)calloc(WINDOWSIZE, sizeof(float)); |
| 14 |
@@ -135,8 +136,6 @@ |
| 15 |
static int callnum = 0; |
| 16 |
|
| 17 |
callnum ++; |
| 18 |
- |
| 19 |
- int i; |
| 20 |
|
| 21 |
for (i = 0; i < FREQCOUNT; i ++) { |
| 22 |
assert(smoothing[i] >= 0 && smoothing[i] <= 1); |