diff base/Resampler.cpp @ 756:02390a4c2abe

Toward audio read tests
author Chris Cannam
date Fri, 08 Mar 2013 16:14:21 +0000
parents c022976d18e8
children e802e550a1f2
line wrap: on
line diff
--- a/base/Resampler.cpp	Thu Mar 07 17:18:08 2013 +0000
+++ b/base/Resampler.cpp	Fri Mar 08 16:14:21 2013 +0000
@@ -143,6 +143,10 @@
 
     //!!! check err, respond appropriately
 
+    if (data.input_frames_used != incount) {
+        std::cerr << "Resampler: NOTE: input_frames_used == " << data.input_frames_used << " (while incount = " << incount << ")" << std::endl;
+    }
+
     return data.output_frames_gen;
 }