diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-06 16:00:00 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-06 16:00:31 -0700 |
commit | febaa1ff2d1f5150d30902f7ccc8b5dfcfb3c913 (patch) | |
tree | 8fa79254ff807577eb6977987f834edfed8905fb /libs/ardour/ardour/port.h | |
parent | 9694f8996643e8845393aa60548f97ccc416d4e1 (diff) |
fix unconditional note resolution during DiskReader::realtime_locate()
When looping, we do not want to resolve notes at the end of the loop via ::realtime_locate() -
::get_midi_playback() has already taken care of this. But when not looping, we need this. So,
add an argument to tell all interested parties whether the locate is for a loop end or not
Diffstat (limited to 'libs/ardour/ardour/port.h')
-rw-r--r-- | libs/ardour/ardour/port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h index d2fb0ed03f..aa19ca85ed 100644 --- a/libs/ardour/ardour/port.h +++ b/libs/ardour/ardour/port.h @@ -122,7 +122,7 @@ public: virtual Buffer& get_buffer (pframes_t nframes) = 0; virtual void flush_buffers (pframes_t /*nframes*/) {} virtual void transport_stopped () {} - virtual void realtime_locate () {} + virtual void realtime_locate (bool for_loop_end) {} virtual void set_buffer_size (pframes_t) {} bool physically_connected () const; |