summaryrefslogtreecommitdiff
path: root/libs/ardour/analyser.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-11-15 09:33:54 -0600
committerBen Loftis <ben@harrisonconsoles.com>2019-08-01 12:11:31 -0500
commitedde5d64a2630c6d79239b92f2fe428022626dde (patch)
tree4f7f9c05924dc3e6759ecead705e0606767c848c /libs/ardour/analyser.cc
parent77950c36c5532b0696dc89f108fcc18af9fd08f8 (diff)
(Source List) Clean up the natural_position implementation (libardour part).
Diffstat (limited to 'libs/ardour/analyser.cc')
-rw-r--r--libs/ardour/analyser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/analyser.cc b/libs/ardour/analyser.cc
index 457291f72f..d524059c67 100644
--- a/libs/ardour/analyser.cc
+++ b/libs/ardour/analyser.cc
@@ -97,7 +97,7 @@ Analyser::work ()
boost::shared_ptr<AudioFileSource> afs = boost::dynamic_pointer_cast<AudioFileSource> (src);
- if (afs && afs->length(afs->timeline_position())) {
+ if (afs && afs->length(afs->natural_position())) {
Glib::Threads::Mutex::Lock lm (analysis_active_lock);
analyse_audio_file_source (afs);
}