shithub: sox

Download patch

ref: d6059b8fd3040c6f96f1cc170eff42431a542af9
parent: b663509ef53609b2dcedc3b2c4373d592e91fdd8
author: robs <robs>
date: Mon Oct 29 19:54:59 EDT 2007

allow effects a bit more memory

--- a/src/sox.h
+++ b/src/sox.h
@@ -380,7 +380,7 @@
  * Structures for effects.
  */
 
-#define SOX_MAX_EFFECT_PRIVSIZE SOX_MAX_FILE_PRIVSIZE
+#define SOX_MAX_EFFECT_PRIVSIZE (2 * SOX_MAX_FILE_PRIVSIZE)
 
 #define SOX_EFF_CHAN     1           /* Effect can alter # of channels */
 #define SOX_EFF_RATE     2           /* Effect can alter sample rate */