diff options
author | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
commit | 254b434f0a79fea54bd963e8ff2e845a5b0cd3a6 (patch) | |
tree | ddf849fc5b64d1096846c28c1f1a742f54c3adff /src/server/PatchImpl.cpp | |
parent | bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 (diff) | |
download | ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.gz ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.bz2 ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.zip |
Partially functioning communication between Ingen LV2 plugin and UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4078 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PatchImpl.cpp')
-rw-r--r-- | src/server/PatchImpl.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp index c2d97d41..dca7f2ae 100644 --- a/src/server/PatchImpl.cpp +++ b/src/server/PatchImpl.cpp @@ -258,8 +258,8 @@ PatchImpl::process_single(ProcessContext& context) void PatchImpl::set_buffer_size(Context& context, BufferFactory& bufs, - PortType type, - size_t size) + LV2_URID type, + uint32_t size) { NodeImpl::set_buffer_size(context, bufs, type, size); @@ -346,7 +346,8 @@ PortImpl* PatchImpl::create_port(BufferFactory& bufs, const string& name, PortType type, - size_t buffer_size, + LV2_URID buffer_type, + uint32_t buffer_size, bool is_output, bool polyphonic) { @@ -360,7 +361,7 @@ PatchImpl::create_port(BufferFactory& bufs, value = bufs.forge().make(0.0f); return new DuplexPort(bufs, this, name, num_ports(), polyphonic, _polyphony, - type, value, buffer_size, is_output); + type, buffer_type, value, buffer_size, is_output); } /** Remove port from ports list used in pre-processing thread. |