diff options
Diffstat (limited to 'libs/audiographer/audiographer/general/peak_reader.h')
-rw-r--r-- | libs/audiographer/audiographer/general/peak_reader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/audiographer/audiographer/general/peak_reader.h b/libs/audiographer/audiographer/general/peak_reader.h index 8bf0faa792..bb04239544 100644 --- a/libs/audiographer/audiographer/general/peak_reader.h +++ b/libs/audiographer/audiographer/general/peak_reader.h @@ -25,7 +25,7 @@ class /*LIBAUDIOGRAPHER_API*/ PeakReader : public ListedSource<float>, public Si /// Finds peaks from the data \n RT safe void process (ProcessContext<float> const & c) { - peak = Routines::compute_peak (c.data(), c.frames(), peak); + peak = Routines::compute_peak (c.data(), c.samples(), peak); ListedSource<float>::output(c); } |