shithub: sox

Download patch

ref: 433944e934391e4a3792c21480776cdc65d5f21c
parent: f0c438f6e5a813322d30bebdc9c44452922bc3e8
author: cbagwell <cbagwell>
date: Sat Oct 18 12:59:56 EDT 2008

more libsfx symbol cleanup.

--- a/src/effects.c
+++ b/src/effects.c
@@ -114,7 +114,7 @@
 } /* sox_delete_effects_chain */
 
 /* Effect can call in start() or flow() to set minimum input size to flow() */
-int sox_effect_set_imin(sox_effect_t * effp, size_t imin)
+int lsx_effect_set_imin(sox_effect_t * effp, size_t imin)
 {
   if (imin > sox_globals.bufsiz / effp->flows) {
     sox_fail("sox_bufsiz not big enough");
--- a/src/sox.h
+++ b/src/sox.h
@@ -491,7 +491,6 @@
 
 typedef const sox_effect_handler_t *(*sox_effect_fn_t)(void);
 extern sox_effect_fn_t sox_effect_fns[];
-int sox_effect_set_imin(sox_effect_t * effp, size_t imin);
 
 struct sox_effects_chain {
   sox_effect_t * effects[SOX_MAX_EFFECTS];
--- a/src/sox_i.h
+++ b/src/sox_i.h
@@ -256,4 +256,6 @@
   break; \
 }
 
+int lsx_effect_set_imin(sox_effect_t * effp, size_t imin);
+
 #endif