From e960ebeebb5ebbf4d1e650f44a40b3d4eb3e1073 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 1 Apr 2012 23:47:37 +0000 Subject: [PATCH] Add comment. git-svn-id: svn://localhost/ardour2/branches/3.0@11778 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/sndfilesource.cc | 3 +++ 1 file changed, 3 insertions(+) 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) {