From fa4e858eb351668bc6687819903d019703daef7a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 16 Sep 2009 01:08:51 +0000 Subject: do not allow smf_source's reads to stomp on cached read_end position in parent class, which creates chaos by being out of sync with MidiSource::_model_iterator. this doesn't totally fix MIDI playback, but it helps git-svn-id: svn://localhost/ardour2/branches/3.0@5665 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/smf_source.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/smf_source.h') diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index 73bef5480a..025f770fc3 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -85,6 +85,7 @@ private: double _last_ev_time_beats; sframes_t _last_ev_time_frames; + mutable sframes_t _smf_last_read_end; }; }; /* namespace ARDOUR */ -- cgit v1.2.3