# HG changeset patch # User Chris Cannam # Date 1391700706 0 # Node ID 5d3a6ecdf2db20411f1124f42af9ace078792881 # Parent 67e6d518ac27260eae6ca797da1258e45dc1a949 Unclamped diff -r 67e6d518ac27 -r 5d3a6ecdf2db layer/SpectrogramLayer.cpp --- a/layer/SpectrogramLayer.cpp Tue Jan 28 17:37:42 2014 +0000 +++ b/layer/SpectrogramLayer.cpp Thu Feb 06 15:31:46 2014 +0000 @@ -3459,6 +3459,11 @@ return n; } + + virtual int getPositionForValueUnclamped(float value) const { + // We don't really support this + return getPositionForValue(value); + } virtual float getValueForPosition(int position) const { @@ -3478,6 +3483,11 @@ return dist; } + virtual float getValueForPositionUnclamped(int position) const { + // We don't really support this + return getValueForPosition(position); + } + virtual QString getUnit() const { return "Hz"; } protected: