mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
LuaProc: use effective sample-rate, like other plugin instances
This commit is contained in:
parent
a36ddb72dd
commit
771cc4581e
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ LuaProc::load_script ()
|
|||
luabridge::LuaRef lua_dsp_init = luabridge::getGlobal (L, "dsp_init");
|
||||
if (lua_dsp_init.type () == LUA_TFUNCTION) {
|
||||
try {
|
||||
lua_dsp_init (_session.nominal_sample_rate ());
|
||||
lua_dsp_init (_session.sample_rate ());
|
||||
} catch (luabridge::LuaException const& e) {
|
||||
#ifndef NDEBUG
|
||||
std::cerr << "LuaException:" << e.what () << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue