diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-14 17:35:33 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-14 17:35:33 +0000 |
commit | 07be98b3410ac70b3c4451592fb88def678611ef (patch) | |
tree | a4fafdad0a4e67f9f49d4b5b21193bf37d8b2504 /libs/ardour/ardour/midi_port.h | |
parent | bb9cc45cd22af67ac275a5e73accbe14fee664d8 (diff) |
(1) silence non-process FIFO message (2) move MIDI state tracking down to the MidiPort level (3) forward port the PRIVATE_JACK pointer "fix" from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5774 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r-- | libs/ardour/ardour/midi_port.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h index 749829b7ea..10d8c7b6ca 100644 --- a/libs/ardour/ardour/midi_port.h +++ b/libs/ardour/ardour/midi_port.h @@ -23,6 +23,7 @@ #include "ardour/port.h" #include "ardour/midi_buffer.h" +#include "ardour/midi_state_tracker.h" namespace ARDOUR { @@ -39,7 +40,9 @@ class MidiPort : public Port { void cycle_start (nframes_t nframes); void cycle_end (nframes_t nframes); void cycle_split (); - void flush_buffers (nframes_t nframes, nframes_t offset = 0); + + void flush_buffers (nframes_t nframes, nframes64_t time, nframes_t offset = 0); + void transport_stopped (); size_t raw_buffer_size(jack_nframes_t nframes) const; @@ -57,7 +60,9 @@ class MidiPort : public Port { private: MidiBuffer* _buffer; bool _has_been_mixed_down; + bool _resolve_in_process; + MidiStateTracker _midi_state_tracker; }; } // namespace ARDOUR |