summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Port.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-02 02:51:41 +0000
committerDavid Robillard <d@drobilla.net>2007-01-02 02:51:41 +0000
commit84906b5777d6748c09dd5ca56169aa3366d13c71 (patch)
tree69207ea182be5c44c0a5e89d3d475ab0b39e97c5 /src/libs/engine/Port.h
parentb249234a26f3a424fcf977b1a3b8fed4d5ac7d39 (diff)
downloadingen-84906b5777d6748c09dd5ca56169aa3366d13c71.tar.gz
ingen-84906b5777d6748c09dd5ca56169aa3366d13c71.tar.bz2
ingen-84906b5777d6748c09dd5ca56169aa3366d13c71.zip
Initial work on dynamic (Jack) buffer resizing (still unworking).
git-svn-id: http://svn.drobilla.net/lad/ingen@229 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Port.h')
-rw-r--r--src/libs/engine/Port.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/engine/Port.h b/src/libs/engine/Port.h
index 273ff690..90dbdd00 100644
--- a/src/libs/engine/Port.h
+++ b/src/libs/engine/Port.h
@@ -64,6 +64,9 @@ public:
DataType type() const { return _type; }
size_t buffer_size() const { return _buffer_size; }
+ virtual void set_buffer_size(size_t size) = 0;
+ virtual void connect_buffers() = 0;
+
protected:
Port(Node* const node, const string& name, size_t index, size_t poly, DataType type, size_t buffer_size);