Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
755:dc6c0e50724c | 756:02390a4c2abe |
---|---|
141 | 141 |
142 int err = src_process(m_src, &data); | 142 int err = src_process(m_src, &data); |
143 | 143 |
144 //!!! check err, respond appropriately | 144 //!!! check err, respond appropriately |
145 | 145 |
146 if (data.input_frames_used != incount) { | |
147 std::cerr << "Resampler: NOTE: input_frames_used == " << data.input_frames_used << " (while incount = " << incount << ")" << std::endl; | |
148 } | |
149 | |
146 return data.output_frames_gen; | 150 return data.output_frames_gen; |
147 } | 151 } |
148 | 152 |
149 void | 153 void |
150 Resampler::D::reset() | 154 Resampler::D::reset() |