summaryrefslogtreecommitdiff
path: root/libs/ardour/luaproc.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-08-26 01:47:05 +0200
committerRobin Gareus <robin@gareus.org>2016-08-26 01:47:05 +0200
commitf582f8595fba977f78eb05141c5e869ab96223ce (patch)
tree83e8b070914195175d7c0c3af8da2d997aa7df4c /libs/ardour/luaproc.cc
parentc9f0657c86b3b4a5042d53c72681f20ebad9c21f (diff)
increase pre-allocated Lua DSP memory pool size to 3MB
...now that bindings alone need approx 700K and some more complex DSP scripts are showing up 2MB is not much :(
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r--libs/ardour/luaproc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc
index c67667c6ea..362b785100 100644
--- a/libs/ardour/luaproc.cc
+++ b/libs/ardour/luaproc.cc
@@ -46,7 +46,7 @@ LuaProc::LuaProc (AudioEngine& engine,
Session& session,
const std::string &script)
: Plugin (engine, session)
- , _mempool ("LuaProc", 2097152)
+ , _mempool ("LuaProc", 3145728)
#ifdef USE_TLSF
, lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
#elif defined USE_MALLOC
@@ -76,7 +76,7 @@ LuaProc::LuaProc (AudioEngine& engine,
LuaProc::LuaProc (const LuaProc &other)
: Plugin (other)
- , _mempool ("LuaProc", 2097152)
+ , _mempool ("LuaProc", 3145728)
#ifdef USE_TLSF
, lua (lua_newstate (&PBD::TLSF::lalloc, &_mempool))
#elif defined USE_MALLOC