summaryrefslogtreecommitdiff
path: root/libs/ardour/ebur128_analysis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
commit30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch)
tree620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/ebur128_analysis.cc
parentcb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff)
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
Diffstat (limited to 'libs/ardour/ebur128_analysis.cc')
-rw-r--r--libs/ardour/ebur128_analysis.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ebur128_analysis.cc b/libs/ardour/ebur128_analysis.cc
index a329f877c1..1caf7a71c2 100644
--- a/libs/ardour/ebur128_analysis.cc
+++ b/libs/ardour/ebur128_analysis.cc
@@ -46,8 +46,8 @@ EBUr128Analysis::run (Readable* src)
{
int ret = -1;
bool done = false;
- framecnt_t len = src->readable_length();
- framepos_t pos = 0;
+ samplecnt_t len = src->readable_length();
+ samplepos_t pos = 0;
uint32_t n_channels = src->n_channels();
Plugin::FeatureSet features;
@@ -62,8 +62,8 @@ EBUr128Analysis::run (Readable* src)
}
while (!done) {
- framecnt_t to_read;
- to_read = min ((len - pos), (framecnt_t) bufsize);
+ samplecnt_t to_read;
+ to_read = min ((len - pos), (samplecnt_t) bufsize);
for (uint32_t c = 0; c < n_channels; ++c) {
if (src->read (bufs[c], pos, to_read, c) != to_read) {