ref: d692dec3ab9ef1bf042181dff5abc7ff0a255e7d
parent: cfad7c197b5f7e25dab9d03f2555c3e51ba82586
author: robs <robs>
date: Sun May 3 06:31:40 EDT 2009
demote some text output from INFO to DBUG
--- a/src/sox.c
+++ b/src/sox.c
@@ -1011,9 +1011,12 @@
}
for (i = 0; i < chain->length; ++i) {
+ char const * format = sox_globals.verbosity > 3?
+ "effects chain: %-10s %gHz %u channels %u bits %s" :
+ "effects chain: %-10s %gHz %u channels";
sox_effect_t const * effp = &chain->effects[i][0];
- lsx_report("effects chain: %-10s %gHz %u channels %u bits %s",
- effp->handler.name, effp->in_signal.rate, effp->in_signal.channels, effp->in_signal.precision,
+ lsx_report(format, effp->handler.name, effp->out_signal.rate,
+ effp->out_signal.channels, effp->out_signal.precision,
(effp->handler.flags & SOX_EFF_MCHAN)? "(multi)" : "");
}
}