diff options
Diffstat (limited to 'libs/ardour/ardour/peak.h')
-rw-r--r-- | libs/ardour/ardour/peak.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/peak.h b/libs/ardour/ardour/peak.h index eaeafe0f5d..bbec40eea7 100644 --- a/libs/ardour/ardour/peak.h +++ b/libs/ardour/ardour/peak.h @@ -25,7 +25,7 @@ #include <ardour/utils.h> static inline float -compute_peak (ARDOUR::Sample *buf, nframes_t nsamples, float current) +default_compute_peak (const ARDOUR::Sample * const buf, nframes_t nsamples, float current) { for (nframes_t i = 0; i < nsamples; ++i) { current = f_max (current, fabsf (buf[i])); |