blob: 4a9c11fd0133ac6a6c4458a6f3b36efacc63502b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ae,v 1.2 1998/08/07 10:36:12 agc Exp $
--- 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 {
|