add a const - just because.
[ardour.git] / libs / ardour / ardour / dsp_filter.h
index eb9ba4aa0d7fe3f91d9f95b09807c92a94ac307f..b7be41095056f78e59710563bd6a574c77c4b49b 100644 (file)
@@ -151,7 +151,7 @@ namespace ARDOUR { namespace DSP {
         * @param max result, max value found in range
         * @param n_samples number of samples to analyze
         */
-       void peaks (float *data, float &min, float &max, uint32_t n_samples);
+       void peaks (const float *data, float &min, float &max, uint32_t n_samples);
 
        /** non-linear power-scale meter deflection
         *