diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-01 23:47:37 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-01 23:47:37 +0000 |
commit | e960ebeebb5ebbf4d1e650f44a40b3d4eb3e1073 (patch) | |
tree | b57bbf27025c31e1526f298486debd62db91bd08 /libs/ardour/sndfilesource.cc | |
parent | 4cd2e73732f4bc5e56ba1d3533e33597fa0d3872 (diff) |
Add comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@11778 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r-- | libs/ardour/sndfilesource.cc | 3 |
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) { |