Mercurial > hg > svgui
diff layer/ScrollableMagRangeCache.h @ 1122:94370157b265 spectrogram-minor-refactor
Fixes and debug output for mag range calculations
author | Chris Cannam |
---|---|
date | Fri, 22 Jul 2016 13:56:24 +0100 |
parents | 65cdaf8d6b50 |
children | c53ed1a6fcbd |
line wrap: on
line diff
--- a/layer/ScrollableMagRangeCache.h Fri Jul 22 12:17:55 2016 +0100 +++ b/layer/ScrollableMagRangeCache.h Fri Jul 22 13:56:24 2016 +0100 @@ -113,13 +113,7 @@ /** * Get the magnitude range for a range of columns. */ - MagnitudeRange getRange(int x, int count) const { - MagnitudeRange r; - for (int i = 0; i < count; ++i) { - r.sample(m_ranges.at(x + i)); - } - return r; - } + MagnitudeRange getRange(int x, int count) const; /** * Set the new start frame for the cache, according to the