summaryrefslogtreecommitdiff
path: root/libs/ardour/caimportable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/caimportable.cc')
-rw-r--r--libs/ardour/caimportable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/caimportable.cc b/libs/ardour/caimportable.cc
index 13721f8334..008e78954c 100644
--- a/libs/ardour/caimportable.cc
+++ b/libs/ardour/caimportable.cc
@@ -107,7 +107,7 @@ CAImportableSource::channels () const
samplecnt_t
CAImportableSource::length () const
{
- return af.GetNumberSamples();
+ return af.GetNumberFrames();
}
samplecnt_t