projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the horrible mess that was anything related to sources and paths.
[ardour.git]
/
libs
/
ardour
/
ardour
/
peak.h
diff --git
a/libs/ardour/ardour/peak.h
b/libs/ardour/ardour/peak.h
index eaeafe0f5d43b44d1e82adde7cba83224ed77d6d..bbec40eea7e65502a36ea0a3b099fdc2e69c1e2f 100644
(file)
--- a/
libs/ardour/ardour/peak.h
+++ b/
libs/ardour/ardour/peak.h
@@
-25,7
+25,7
@@
#include <ardour/utils.h>
static inline float
#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]));
{
for (nframes_t i = 0; i < nsamples; ++i) {
current = f_max (current, fabsf (buf[i]));