diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-18 19:20:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-18 19:20:59 +0000 |
commit | a8237f1aed3cd514cfa580aefad5a082bcdecb56 (patch) | |
tree | 36680d1a8926abc7bfe53b340f5ed7c86d8054ab /libs/ardour/ardour/midi_ring_buffer.h | |
parent | 88dfe91ce3c7e8d1154f1c51b960f4133a71a661 (diff) |
make switching between input+disk monitoring work "right" for MIDI tracks; also fix a bug that led to messages about notes already being on at program start because of a double seek with no read in between
git-svn-id: svn://localhost/ardour2/branches/3.0@12762 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_ring_buffer.h')
-rw-r--r-- | libs/ardour/ardour/midi_ring_buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/midi_ring_buffer.h b/libs/ardour/ardour/midi_ring_buffer.h index 4b352b3c4d..c6756933aa 100644 --- a/libs/ardour/ardour/midi_ring_buffer.h +++ b/libs/ardour/ardour/midi_ring_buffer.h @@ -55,6 +55,7 @@ public: size_t read(MidiBuffer& dst, framepos_t start, framepos_t end, framecnt_t offset=0, bool stop_on_overflow_in_destination=false); void dump(std::ostream& dst); + void flush (framepos_t start, framepos_t end); /** Set the channel filtering mode. * @param mask If mode is FilterChannels, each bit represents a midi channel: |