diff options
author | is <is@pkgsrc.org> | 1997-12-17 14:19:43 +0000 |
---|---|---|
committer | is <is@pkgsrc.org> | 1997-12-17 14:19:43 +0000 |
commit | 811384d17ac3fed3c88dfab8bf939dd246ca8ebc (patch) | |
tree | deac864dab9ac4b3b2c1a301378a08c316cc9717 /audio/sox | |
parent | 15537b72cdff58894fad01605944c0f290b53ba3 (diff) | |
download | pkgsrc-811384d17ac3fed3c88dfab8bf939dd246ca8ebc.tar.gz |
Make the -v (volume) option work again.
Diffstat (limited to 'audio/sox')
-rw-r--r-- | audio/sox/patches/patch-ae | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/sox/patches/patch-ae b/audio/sox/patches/patch-ae new file mode 100644 index 00000000000..45f236de3bd --- /dev/null +++ b/audio/sox/patches/patch-ae @@ -0,0 +1,17 @@ +--- sox.c.old Fri Oct 7 23:10:11 1994 ++++ sox.c Wed Dec 17 15:12:54 1997 +@@ -444,12 +444,10 @@ + for(e = 1; e < neffects; e++) + efftab[e].odone = efftab[e].olen = 0; + +-#ifdef later + /* Do volume before effects or after? idunno */ + if (dovolume && informat.info.size != FLOAT) +- for (i = 0; i < isamp; i++) +- ibuffer[i] = volumechange(ibuffer[i]); +-#endif ++ for (i = 0; i < efftab[0].olen; i++) ++ efftab[0].obuf[i] = volumechange(efftab[0].obuf[i]); + + do { + |