Mercurial > hg > svcore
diff data/model/ReadOnlyWaveFileModel.cpp @ 1550:1ae6a19464a7 zoom-double
Messing with non-integer zoom ratios. But I don't think this is going anywhere as it stands
author | Chris Cannam |
---|---|
date | Mon, 08 Oct 2018 13:39:40 +0100 |
parents | 710e6250a401 |
children |
line wrap: on
line diff
--- a/data/model/ReadOnlyWaveFileModel.cpp Mon Oct 01 15:48:02 2018 +0100 +++ b/data/model/ReadOnlyWaveFileModel.cpp Mon Oct 08 13:39:40 2018 +0100 @@ -339,7 +339,7 @@ { int cacheType = 0; int power = m_zoomConstraint.getMinCachePower(); - int roundedBlockSize = m_zoomConstraint.getNearestBlockSize + double roundedBlockSize = m_zoomConstraint.getNearestBlockSize (desired, cacheType, power, ZoomConstraint::RoundDown); if (cacheType != 0 && cacheType != 1) {