diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-16 01:08:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-16 01:08:51 +0000 |
commit | fa4e858eb351668bc6687819903d019703daef7a (patch) | |
tree | 1068e35899ec48cdd8ef514510fec56092466673 /libs/ardour/ardour/smf_source.h | |
parent | 127b8a62b790c7515a27934b920e88b7de04b7fc (diff) |
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
Diffstat (limited to 'libs/ardour/ardour/smf_source.h')
-rw-r--r-- | libs/ardour/ardour/smf_source.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |