comparison data/fileio/CodedAudioFileReader.cpp @ 304:4fc6f49436b3

* Add support for remote files to image layer
author Chris Cannam
date Fri, 05 Oct 2007 15:52:52 +0000
parents c022976d18e8
children 7a4bd2c8585c
comparison
equal deleted inserted replaced
303:15b47d30c085 304:4fc6f49436b3
301 m_resampleBuffer, 301 m_resampleBuffer,
302 sz, 302 sz,
303 ratio, 303 ratio,
304 final); 304 final);
305 305
306 for (size_t i = 0; i < out; ++i) {
307 if (m_resampleBuffer[i] > 1.f) m_resampleBuffer[i] = 1.f;
308 if (m_resampleBuffer[i] < -1.f) m_resampleBuffer[i] = -1.f;
309 }
310
306 buffer = m_resampleBuffer; 311 buffer = m_resampleBuffer;
307 sz = out; 312 sz = out;
308 } 313 }
309 } 314 }
310 315