ref: a2440ab0bd731c9d7aac5701a15d4cb34bba2127
parent: dfd3f0b399bb06c03db68fb2fca24f4439d6a0ca
author: robs <robs>
date: Sun Jan 4 11:09:07 EST 2009
tone down messages
--- a/src/formats.c
+++ b/src/formats.c
@@ -825,9 +825,9 @@
if ((ft->handler.flags & SOX_FILE_DEVICE) && signal) {
if (signal->rate && signal->rate != ft->signal.rate)
- lsx_warn("can't set sample rate %g; using %g", signal->rate, ft->signal.rate);
+ lsx_report("can't set sample rate %g; using %g", signal->rate, ft->signal.rate);
if (signal->channels && signal->channels != ft->signal.channels)
- lsx_warn("can't set %u channels; using %u", signal->channels, ft->signal.channels);
+ lsx_report("can't set %u channels; using %u", signal->channels, ft->signal.channels);
}
return ft;