ref: db4570914fe732af0ab27696767f3c09401aa8d3
parent: 2b0c994d72b4c2e8ddfdf1aa7aeea3e175b22bdb
author: Ulrich Klauer <ulrich@chirlu.de>
date: Fri Jan 13 17:38:59 EST 2012
contrast: process channels separately Remove the SOX_EFF_MCHAN flag for the contrast effect. Processing all channels at once isn't necessary for contrast (even though it is more efficient) and more prone to bugs.
--- a/src/contrast.c
+++ b/src/contrast.c
@@ -44,6 +44,6 @@
sox_effect_handler_t const * lsx_contrast_effect_fn(void)
{
static sox_effect_handler_t handler = {"contrast", "[enhancement (75)]",
- SOX_EFF_MCHAN, create, NULL, flow, NULL, NULL, NULL, sizeof(priv_t)};
+ 0, create, NULL, flow, NULL, NULL, NULL, sizeof(priv_t)};
return &handler;
}