comparison data/fileio/FFTFuzzyAdapter.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 1a42221a1522
children 59e7fe1b1003
comparison
equal deleted inserted replaced
842:23d3a6eca5c3 843:e802e550a1f2
41 size_t xratio = windowIncrement / m_server->getWindowIncrement(); 41 size_t xratio = windowIncrement / m_server->getWindowIncrement();
42 size_t yratio = m_server->getFFTSize() / fftSize; 42 size_t yratio = m_server->getFFTSize() / fftSize;
43 43
44 while (xratio > 1) { 44 while (xratio > 1) {
45 if (xratio & 0x1) { 45 if (xratio & 0x1) {
46 std::cerr << "ERROR: FFTFuzzyAdapter: Window increment ratio " 46 cerr << "ERROR: FFTFuzzyAdapter: Window increment ratio "
47 << windowIncrement << " / " 47 << windowIncrement << " / "
48 << m_server->getWindowIncrement() 48 << m_server->getWindowIncrement()
49 << " must be a power of two" << std::endl; 49 << " must be a power of two" << endl;
50 assert(!(xratio & 0x1)); 50 assert(!(xratio & 0x1));
51 } 51 }
52 ++m_xshift; 52 ++m_xshift;
53 xratio >>= 1; 53 xratio >>= 1;
54 } 54 }
55 55
56 while (yratio > 1) { 56 while (yratio > 1) {
57 if (yratio & 0x1) { 57 if (yratio & 0x1) {
58 std::cerr << "ERROR: FFTFuzzyAdapter: FFT size ratio " 58 cerr << "ERROR: FFTFuzzyAdapter: FFT size ratio "
59 << m_server->getFFTSize() << " / " << fftSize 59 << m_server->getFFTSize() << " / " << fftSize
60 << " must be a power of two" << std::endl; 60 << " must be a power of two" << endl;
61 assert(!(yratio & 0x1)); 61 assert(!(yratio & 0x1));
62 } 62 }
63 ++m_yshift; 63 ++m_yshift;
64 yratio >>= 1; 64 yratio >>= 1;
65 } 65 }