comparison base/Resampler.cpp @ 843:e802e550a1f2

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 13:35:08 +0000
parents 02390a4c2abe
children 6a94bb528e9d
comparison
equal deleted inserted replaced
842:23d3a6eca5c3 843:e802e550a1f2
23 #include <cmath> 23 #include <cmath>
24 24
25 #include <iostream> 25 #include <iostream>
26 26
27 #include <samplerate.h> 27 #include <samplerate.h>
28
29 #include "Debug.h"
28 30
29 class Resampler::D 31 class Resampler::D
30 { 32 {
31 public: 33 public:
32 D(Quality quality, size_t channels, size_t chunkSize); 34 D(Quality quality, size_t channels, size_t chunkSize);
142 int err = src_process(m_src, &data); 144 int err = src_process(m_src, &data);
143 145
144 //!!! check err, respond appropriately 146 //!!! check err, respond appropriately
145 147
146 if (data.input_frames_used != incount) { 148 if (data.input_frames_used != incount) {
147 std::cerr << "Resampler: NOTE: input_frames_used == " << data.input_frames_used << " (while incount = " << incount << ")" << std::endl; 149 cerr << "Resampler: NOTE: input_frames_used == " << data.input_frames_used << " (while incount = " << incount << ")" << endl;
148 } 150 }
149 151
150 return data.output_frames_gen; 152 return data.output_frames_gen;
151 } 153 }
152 154