summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-27 20:19:41 +0000
committerDavid Robillard <d@drobilla.net>2012-04-27 20:19:41 +0000
commitface634af32eeeddf43839f2ffc2ab81a17cd6ff (patch)
tree39ee995aab1324d94f873bd7d9889ebdeb5373a8
parentfd1e2ef17c7799e8c5d5965932c3bec1570262bd (diff)
downloadingen-face634af32eeeddf43839f2ffc2ab81a17cd6ff.tar.gz
ingen-face634af32eeeddf43839f2ffc2ab81a17cd6ff.tar.bz2
ingen-face634af32eeeddf43839f2ffc2ab81a17cd6ff.zip
Fix mismatched sample rate and buffer size.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4286 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/server/ingen_lv2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index d68b749b..4b25c24c 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -426,7 +426,7 @@ ingen_instantiate(const LV2_Descriptor* descriptor,
Server::ThreadManager::single_threaded = true;
// FIXME: fixed (or at least maximum) buffer size
- LV2Driver* driver = new LV2Driver(*engine.get(), rate, 4096);
+ LV2Driver* driver = new LV2Driver(*engine.get(), 4096, rate);
engine->set_driver(SharedPtr<Ingen::Server::Driver>(driver));
interface->set_response_interface(&driver->writer());