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