diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-16 17:53:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-16 17:53:04 +0000 |
commit | 5cc5fb8de49d4c570f5cc7f1731f99b99018965c (patch) | |
tree | e1bbef69b7f4e68e79858c3710c6784ddf4efa4b /libs/ardour/smf_source.cc | |
parent | fa4e858eb351668bc6687819903d019703daef7a (diff) |
remove existing attempts at optimizing MIDI event reading, to try to fix bugs that may be connected with it
git-svn-id: svn://localhost/ardour2/branches/3.0@5667 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/smf_source.cc')
-rw-r--r-- | libs/ardour/smf_source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index 7fbc8b0287..65759e7037 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -118,7 +118,7 @@ SMFSource::read_unlocked (MidiRingBuffer<nframes_t>& destination, sframes_t sour const uint64_t start_ticks = (uint64_t)(converter.from(start) * ppqn()); - if (_smf_last_read_end == 0 || start != _smf_last_read_end) { +// if (_smf_last_read_end == 0 || start != _smf_last_read_end) { //cerr << "SMFSource::read_unlocked seeking to " << start << endl; Evoral::SMF::seek_to_start(); while (time < start_ticks) { @@ -129,7 +129,7 @@ SMFSource::read_unlocked (MidiRingBuffer<nframes_t>& destination, sframes_t sour } time += ev_delta_t; // accumulate delta time } - } +// } _smf_last_read_end = start + duration; |