diff options
author | David Robillard <d@drobilla.net> | 2009-05-04 15:50:51 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-04 15:50:51 +0000 |
commit | ca10cc82a4374a5b413c06ead6cc89c53f8881ee (patch) | |
tree | 3d44716ed02d80bd1256609631c77a730d04e169 /libs/ardour/ardour/port.h | |
parent | 9b06b1da0cec57a6848cf1f7920691ae022b30e7 (diff) |
Preliminary MIDI plugin support.
git-svn-id: svn://localhost/ardour2/branches/3.0@5036 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/port.h')
-rw-r--r-- | libs/ardour/ardour/port.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h index 0c77eb15dd..3f86fb8fd2 100644 --- a/libs/ardour/ardour/port.h +++ b/libs/ardour/ardour/port.h @@ -101,6 +101,9 @@ public: void set_latency (nframes_t); virtual void reset (); + + /** @return the size of the raw buffer (bytes) for duration @a nframes (audio frames) */ + virtual size_t raw_buffer_size(jack_nframes_t nframes) const = 0; virtual DataType type () const = 0; virtual void cycle_start (nframes_t) = 0; @@ -108,7 +111,7 @@ public: virtual void cycle_split () = 0; virtual Buffer& get_buffer (nframes_t nframes, nframes_t offset = 0) = 0; virtual void flush_buffers (nframes_t, nframes_t offset = 0) {} - + static void set_engine (AudioEngine *); sigc::signal<void, bool> MonitorInputChanged; |