13
0

Stop spurious regions being added to tracks when chasing MTC.

git-svn-id: svn://localhost/ardour2/branches/3.0@7868 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-10-02 00:06:23 +00:00
parent fff03c103d
commit bf83719ca0

View File

@ -864,7 +864,9 @@ AudioDiskstream::internal_playback_seek (framecnt_t distance)
(*chan)->playback_buf->increment_read_ptr (distance);
}
first_recordable_frame += distance;
if (first_recordable_frame < max_framepos) {
first_recordable_frame += distance;
}
playback_sample += distance;
return 0;