summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/sndfilesource.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc
index 3759057dc5..1732a6f1a6 100644
--- a/libs/ardour/sndfilesource.cc
+++ b/libs/ardour/sndfilesource.cc
@@ -223,6 +223,9 @@ SndFileSource::open ()
bool bwf_info_exists = _broadcast_info->load_from_file (sf);
+ /* Set our timeline position to either the time reference from a BWF header or the current
+ start of the session.
+ */
set_timeline_position (bwf_info_exists ? _broadcast_info->get_time_reference() : header_position_offset);
if (_length != 0 && !bwf_info_exists) {