| 867 | } |
| 868 | |
| 869 | const bool CtrlrLuaMethodManager::callAudio(CtrlrLuaMethod *o, MidiBuffer ¶m1, const AudioPlayHead::CurrentPositionInfo ¶m2) |
| 870 | { |
| 871 | const ScopedLock sl(methodManagerCriticalSection); |
| 872 | |
| 873 | LUA_DEBUG |
| 874 | |
| 875 | if (isLuaDisabled()) |
| 876 | return (true); |
| 877 | |
| 878 | try |
| 879 | { |
| 880 | if (o->isValid()) |
| 881 | { |
| 882 | luabind::call_function<void>(o->getObject().getObject(), param1, param2); |
| 883 | } |
| 884 | } |
| 885 | |
| 886 | CATCH_METHOD_EXCEPTION |
| 887 | |
| 888 | return (true); |
| 889 | } |
| 890 | |
| 891 | const bool CtrlrLuaMethodManager::call(CtrlrLuaMethod *o, const String ¶m1, const String ¶m2, CtrlrLuaObjectWrapper const ¶m3) |
| 892 | { |
no test coverage detected