History

Fix read and write return types: now st_size_t, like the size inputs.

To support this change, turn on lots more compiler warnings, and fix all the warnings generated.

rrt committed 19 years ago

Commit 4d743c41 parent ce1f8f393 files · +875 −1236Browse files

Showing the changes to src/highpass.c (1 of 93 files). Show all

Unified · Split

src/highpass.c+2−5
@@ -1,5 +1,4 @@
1/*1/*
2
3 High-pass effect file for SoX2 High-pass effect file for SoX
4 Copyright (C) 1999 Jan Paul Schmidt <jps@fundament.org>3 Copyright (C) 1999 Jan Paul Schmidt <jps@fundament.org>
5 4
@@ -38,7 +37,7 @@ · 32 unmodified lines
38 37
39static st_effect_t st_highpass_effect;38static st_effect_t st_highpass_effect;
40 39
41int st_highpass_getopts(eff_t effp, int n, char **argv) 40static int st_highpass_getopts(eff_t effp, int n, char **argv)
42{41{
43 butterworth_t butterworth = (butterworth_t)effp->priv;42 butterworth_t butterworth = (butterworth_t)effp->priv;
44 43
@@ -56,9 +55,7 @@ int st_highpass_getopts(eff_t effp, int n, char **argv) · 11 unmodified lines
56 return (ST_SUCCESS);55 return (ST_SUCCESS);
57}56}
58 57
59 58static int st_highpass_start(eff_t effp)
60
61int st_highpass_start(eff_t effp)
62{59{
63 butterworth_t butterworth = (butterworth_t) effp->priv;60 butterworth_t butterworth = (butterworth_t) effp->priv;
64 double c;61 double c;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t