comparison data/fft/FFTDataServer.cpp @ 280:daf89d31f45c

* Restore Scale setting which had mistakenly disappeared from spectrum * Some tweaks to spectrum peaks * Make spectrum default to 4096/75%... or is that overdoing it? * Show harmonic cursor even during playback if in measure mode and mouse in relevant pane * Avoid crash when trying to measure a non-layer * Various adjustments to some icons to make them look better in white-on-black schemes
author Chris Cannam
date Fri, 13 Jul 2007 15:54:17 +0000
parents 522f82311e4e
children 3020904de772
comparison
equal deleted inserted replaced
279:7802b0e2b0ff 280:daf89d31f45c
872 size_t col; 872 size_t col;
873 FFTCache *cache = getCache(x, col); 873 FFTCache *cache = getCache(x, col);
874 if (!cache) return 0; 874 if (!cache) return 0;
875 875
876 if (!cache->haveSetColumnAt(col)) { 876 if (!cache->haveSetColumnAt(col)) {
877 #ifdef DEBUG_FFT_SERVER
877 std::cerr << "FFTDataServer::getMagnitudeAt: calling fillColumn(" 878 std::cerr << "FFTDataServer::getMagnitudeAt: calling fillColumn("
878 << x << ")" << std::endl; 879 << x << ")" << std::endl;
880 #endif
879 fillColumn(x); 881 fillColumn(x);
880 } 882 }
881 return cache->getMagnitudeAt(col, y); 883 return cache->getMagnitudeAt(col, y);
882 } 884 }
883 885