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/resample.c (1 of 93 files). Show all

Unified · Split

src/resample.c+1−2
@@ -158,7 +158,7 @@ static long SrcEX(resample_t r, long Nx); · 157 unmodified lines
158158 /*
159159 * Process options
160160 */
161−int st_resample_getopts(eff_t effp, int n, char **argv)
161+int st_resample_getopts(eff_t effp, int n, char **argv)
162162 {
163163 resample_t r = (resample_t) effp->priv;
164164
@@ -392,7 +392,6 @@ int st_resample_flow(eff_t effp, const st_sample_t *ibuf, st_sample_t *obuf, · 227 unmodified lines
392392 r->Xp = r->Xoff;
393393
394394 for(i=0; i < Nout; i++) {
395− // orig: *obuf++ = r->Y[i] * ISCALE;
396395 double ftemp = r->Y[i] * ISCALE;
397396
398397 ST_SAMPLE_CLIP_COUNT(ftemp, effp->clippedCount);

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