ref: 0561c54e9091b968df3fe1ea53a56061d5e1501a
parent: 38d17b995db2828e331851a200418f569ecb5529
author: rrt <rrt>
date: Sun Feb 4 18:46:54 EST 2007
Rename format delete method to kill
--- a/src/sox.c
+++ b/src/sox.c
@@ -1212,7 +1212,7 @@
return ST_EOF;
}
if (is_always_null || ret == ST_EFF_NULL) { /* remove from the chain */
- int (*delete)(eff_t effp) = e->h->delete? e->h->delete: st_effect_nothing;
+ int (*delete)(eff_t effp) = e->h->kill? e->h->kill: st_effect_nothing;
/* No left & right delete as there is no left & right getopts */
delete(e);
@@ -1582,7 +1582,7 @@
for (e = 1; e < neffects; e++) {
int (*delete)(eff_t effp) =
- efftab[e].h->delete? efftab[e].h->delete : st_effect_nothing;
+ efftab[e].h->kill? efftab[e].h->kill : st_effect_nothing;
/* No left & right delete as there is no left & right getopts */
delete(&efftab[e]);