summaryrefslogtreecommitdiff
path: root/libs/ardour/ebur128_analysis.cc
diff options
context:
space:
mode:
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) {