diff options
author | is <is> | 1997-12-17 14:19:43 +0000 |
---|---|---|
committer | is <is> | 1997-12-17 14:19:43 +0000 |
commit | 32be328057226a8b3d0292b6d8a094a1ab314858 (patch) | |
tree | deac864dab9ac4b3b2c1a301378a08c316cc9717 /audio/sox | |
parent | 359aa441fe5e1baaa0933bd0cd7223240cdc9207 (diff) | |
download | pkgsrc-32be328057226a8b3d0292b6d8a094a1ab314858.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 { + |