Mercurial > hg > svcore
diff base/AudioLevel.cpp @ 259:dc46851837d6
* Fix many compile warnings, remove some debug output
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 13:36:23 +0000 |
parents | 8133ae938704 |
children | bdc9bb371a9f |
line wrap: on
line diff
--- a/base/AudioLevel.cpp Mon Apr 30 09:07:42 2007 +0000 +++ b/base/AudioLevel.cpp Mon Apr 30 13:36:23 2007 +0000 @@ -45,9 +45,9 @@ FaderDescription(-40.f, 0.f, 1.00f), // preview }; -typedef std::vector<float> LevelList; -static std::map<int, LevelList> previewLevelCache; -static const LevelList &getPreviewLevelCache(int levels); +//typedef std::vector<float> LevelList; +//static std::map<int, LevelList> previewLevelCache; +//static const LevelList &getPreviewLevelCache(int levels); float AudioLevel::multiplier_to_dB(float multiplier) @@ -219,7 +219,7 @@ return fader; } - +/* const LevelList & getPreviewLevelCache(int levels) { @@ -234,6 +234,7 @@ } return ll; } +*/ int AudioLevel::multiplier_to_preview(float m, int levels)