summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/DuplexPort.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-08 08:11:59 +0000
committerDavid Robillard <d@drobilla.net>2007-04-08 08:11:59 +0000
commitb59584b387c4b77d09ba4c791eb711597f67c8c8 (patch)
treecef114efdfc9807124b243c09547cfb9f6004a48 /src/libs/engine/DuplexPort.h
parente96c36c1a7abb062e36efc0ac95c35fedcef922e (diff)
downloadingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.tar.gz
ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.tar.bz2
ingen-b59584b387c4b77d09ba4c791eb711597f67c8c8.zip
MIDI patching fixes (clean disconnecting).
git-svn-id: http://svn.drobilla.net/lad/ingen@416 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/DuplexPort.h')
-rw-r--r--src/libs/engine/DuplexPort.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/engine/DuplexPort.h b/src/libs/engine/DuplexPort.h
index 10c305b4..986c1862 100644
--- a/src/libs/engine/DuplexPort.h
+++ b/src/libs/engine/DuplexPort.h
@@ -45,10 +45,11 @@ public:
DuplexPort(Node* parent, const string& name, size_t index, size_t poly, DataType type, size_t buffer_size, bool is_output);
virtual ~DuplexPort() {}
- virtual void prepare_buffers(size_t nframes) {}
+ void pre_process(SampleCount nframes, FrameTime start, FrameTime end);
+ void post_process(SampleCount nframes, FrameTime start, FrameTime end);
- virtual bool is_input() const { return !_is_output; }
- virtual bool is_output() const { return _is_output; }
+ bool is_input() const { return !_is_output; }
+ bool is_output() const { return _is_output; }
protected:
bool _is_output;