13
0

Add comment.

git-svn-id: svn://localhost/ardour2/branches/3.0@11778 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-04-01 23:47:37 +00:00
parent 4cd2e73732
commit e960ebeebb

View File

@ -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) {