Mercurial > hg > svgui
comparison layer/SpectrumLayer.cpp @ 682:1a0dfcbffaf1
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:06:40 +0000 |
parents | 5b72899d692b |
children | 1d526ba11a24 |
comparison
equal
deleted
inserted
replaced
681:eaf4446a1bef | 682:1a0dfcbffaf1 |
---|---|
715 for (FFTModel::PeakSet::iterator i = peaks.begin(); | 715 for (FFTModel::PeakSet::iterator i = peaks.begin(); |
716 i != peaks.end(); ++i) { | 716 i != peaks.end(); ++i) { |
717 | 717 |
718 size_t bin = i->first; | 718 size_t bin = i->first; |
719 | 719 |
720 // std::cerr << "bin = " << bin << ", thresh = " << thresh << ", value = " << fft->getMagnitudeAt(col, bin) << std::endl; | 720 // cerr << "bin = " << bin << ", thresh = " << thresh << ", value = " << fft->getMagnitudeAt(col, bin) << endl; |
721 | 721 |
722 if (!fft->isOverThreshold(col, bin, thresh)) continue; | 722 if (!fft->isOverThreshold(col, bin, thresh)) continue; |
723 | 723 |
724 float freq = i->second; | 724 float freq = i->second; |
725 | 725 |