Add option to limit automatable control parmaters
[ardour.git] / libs / ardour / caimportable.cc
index 13721f8334172d3c0e1d2bd4e7552579e8f36bb2..008e78954c8566fe79989b096b34ff38afd47b5f 100644 (file)
@@ -107,7 +107,7 @@ CAImportableSource::channels () const
 samplecnt_t
 CAImportableSource::length () const
 {
-       return af.GetNumberSamples();
+       return af.GetNumberFrames();
 }
 
 samplecnt_t