summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/midi_port.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-03-07 19:06:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-03-07 19:06:42 +0000
commit665f3bea5a7b145636b6d85bb3623013e38f1819 (patch)
tree56c8e8d1436eef6a4fd8134a89d73d3d5648c0d4 /libs/ardour/ardour/midi_port.h
parent61cbf95f9973234ccf77f0a321860b783e47d82f (diff)
fix all manner of wrongness with port buffer offsets
git-svn-id: svn://localhost/ardour2/branches/3.0@9098 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r--libs/ardour/ardour/midi_port.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h
index 7a019e5a20..b7c80e0c01 100644
--- a/libs/ardour/ardour/midi_port.h
+++ b/libs/ardour/ardour/midi_port.h
@@ -41,16 +41,16 @@ class MidiPort : public Port {
void cycle_end (pframes_t nframes);
void cycle_split ();
- void flush_buffers (pframes_t nframes, framepos_t time, framecnt_t offset = 0);
+ void flush_buffers (pframes_t nframes, framepos_t time);
void transport_stopped ();
size_t raw_buffer_size (pframes_t nframes) const;
- Buffer& get_buffer (framecnt_t nframes, framecnt_t offset = 0) {
- return get_midi_buffer (nframes, offset);
+ Buffer& get_buffer (framecnt_t nframes) {
+ return get_midi_buffer (nframes);
}
- MidiBuffer& get_midi_buffer (framecnt_t nframes, framecnt_t offset = 0);
+ MidiBuffer& get_midi_buffer (framecnt_t nframes);
protected:
friend class AudioEngine;