We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2eb477 + 27155ab commit 8b99282Copy full SHA for 8b99282
misc/speexnoisesup.c
@@ -25,8 +25,8 @@ int main(int argc, char *argv[]) {
25
SpeexPreprocessState *st;
26
27
if (argc < 2) {
28
- printf("usage: %s InFile OutFile\n", argv[0]);
29
- exit(0);
+ printf("usage: %s InFile OutFile\n", argv[0]);
+ exit(0);
30
}
31
32
if (strcmp(argv[1], "-") == 0) fin = stdin;
@@ -37,16 +37,15 @@ int main(int argc, char *argv[]) {
37
38
if (strcmp(argv[2], "-") == 0) fout = stdout;
39
else if ((fout = fopen(argv[2],"wb")) == NULL) {
40
- fprintf(stderr, "Error opening %s\n", argv[2]);
41
- exit(1);
+ fprintf(stderr, "Error opening %s\n", argv[2]);
+ exit(1);
42
43
44
st = speex_preprocess_state_init(N, FS);
45
46
while(fread(buf, sizeof(short), N, fin) == N) {
47
- speex_preprocess_run(st, buf);
48
- fwrite(buf, sizeof(short), N, fout);
49
- if (fin == stdin) fflush(stdin);
+ speex_preprocess_run(st, buf);
+ fwrite(buf, sizeof(short), N, fout);
50
if (fout == stdout) fflush(stdout);
51
52
src/c2dec.c
@@ -363,14 +363,13 @@ int main(int argc, char *argv[])
363
if (f_ratek != NULL)
364
ret = fread(user_ratek, sizeof(float), K, f_ratek);
365
366
- codec2_decode_ber(codec2, buf, bits, ber_est);
367
- fwrite(buf, sizeof(short), nsam, fout);
+ codec2_decode_ber(codec2, buf, bits, ber_est);
+ fwrite(buf, sizeof(short), nsam, fout);
368
369
- //if this is in a pipeline, we probably don't want the usual
+ //if this is in a pipeline, we probably don't want the usual
370
//buffering to occur
371
372
373
374
375
if (softdec) {
376
ret = (fread(softdec_bits, sizeof(float), nbit, fin) == (size_t)nbit);
src/c2enc.c
@@ -178,11 +178,10 @@ int main(int argc, char *argv[])
178
else
179
fwrite(bits, sizeof(char), nbyte, fout);
180
181
- // if this is in a pipeline, we probably don't want the usual
+ // if this is in a pipeline, we probably don't want the usual
182
// buffering to occur
183
184
185
186
187
188
if (report_var) {
src/cohpsk_ch.c
@@ -390,7 +390,6 @@ int main(int argc, char *argv[])
390
buffering to occur */
391
392
393
394
395
396
fclose(fin);
src/cohpsk_demod.c
@@ -230,11 +230,10 @@ int main(int argc, char *argv[])
230
231
232
233
- /* if this is in a pipeline, we probably don't want the usual
234
- buffering to occur */
+ /* if this is in a pipeline, we probably don't want the usual
+ buffering to occur */
235
236
237
238
239
240
src/cohpsk_mod.c
@@ -112,7 +112,6 @@ int main(int argc, char *argv[])
112
113
114
115
116
117
118
src/cohpsk_put_test_bits.c
@@ -92,8 +92,6 @@ int main(int argc, char *argv[])
92
nerrors += bit_errors;
93
nbits += COHPSK_BITS_PER_FRAME;
94
95
-
96
97
98
99
if (foct != NULL) {
src/fdmdv_channel.c
@@ -92,7 +92,6 @@ int main(int argc, char *argv[])
src/fdmdv_demod.c
@@ -211,7 +211,6 @@ int main(int argc, char *argv[])
211
212
213
214
215
216
217
/* Optional dump to Octave log file */
src/fdmdv_mod.c
@@ -148,7 +148,6 @@ int main(int argc, char *argv[])
148
149
150
151
152
153
154
//fdmdv_dump_osc_mags(fdmdv);
0 commit comments