summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/midi_port.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-04-23 17:48:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-04-23 17:48:37 +0000
commit28368793415ba934132994d8c10a5e149c1a8d9d (patch)
tree818d5f406e0c9b6f95f43faae0ff88d885a59ad6 /libs/ardour/ardour/midi_port.h
parent0a22716b74d52fcbef37bebf529048f7f3bc79e0 (diff)
remove offset from process callback tree. some breakage may have occured. yes, really.
git-svn-id: svn://localhost/ardour2/branches/3.0@4999 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r--libs/ardour/ardour/midi_port.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h
index f27789da5f..2f3d8d1647 100644
--- a/libs/ardour/ardour/midi_port.h
+++ b/libs/ardour/ardour/midi_port.h
@@ -36,15 +36,16 @@ class MidiPort : public Port {
return DataType::MIDI;
}
- void cycle_start (nframes_t nframes, nframes_t offset);
- void cycle_end (nframes_t nframes, nframes_t offset);
- void flush_buffers (nframes_t nframes, nframes_t offset);
+ 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);
- Buffer& get_buffer (nframes_t nframes, nframes_t offset) {
+ Buffer& get_buffer (nframes_t nframes, nframes_t offset = 0) {
return get_midi_buffer (nframes, offset);
}
-
- MidiBuffer& get_midi_buffer (nframes_t nframes, nframes_t offset);
+
+ MidiBuffer& get_midi_buffer (nframes_t nframes, nframes_t offset = 0);
protected:
friend class AudioEngine;
@@ -52,9 +53,9 @@ class MidiPort : public Port {
MidiPort (const std::string& name, Flags);
private:
-
MidiBuffer* _buffer;
bool _has_been_mixed_down;
+
};
} // namespace ARDOUR