Skip to content

Commit b8dede7

Browse files
committed
Remove Lua script simply because it's not related to this
1 parent 9e78208 commit b8dede7

62 files changed

Lines changed: 4 additions & 27813 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Plugin/LiveProgrammableEffect.jucer

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -7,66 +7,6 @@
77
defines="JUCE_DONT_AUTO_OPEN_MIDI_DEVICES_ON_MOBILE
TURN_ON_VST"
88
jucerFormatVersion="1">
99
<MAINGROUP id="wVx5gn" name="LiveProgrammableEffect">
10-
<GROUP id="{4B1B3607-B636-DAD6-EBE2-B958C1BDC23F}" name="Lua">
11-
<FILE id="x70m9U" name="lapi.c" compile="1" resource="0" file="Source/Lua/lapi.c"/>
12-
<FILE id="iUlCWo" name="lapi.h" compile="0" resource="0" file="Source/Lua/lapi.h"/>
13-
<FILE id="bvLPvt" name="lauxlib.c" compile="1" resource="0" file="Source/Lua/lauxlib.c"/>
14-
<FILE id="yLAXJk" name="lauxlib.h" compile="0" resource="0" file="Source/Lua/lauxlib.h"/>
15-
<FILE id="UxTKXe" name="lbaselib.c" compile="1" resource="0" file="Source/Lua/lbaselib.c"/>
16-
<FILE id="yjRkjm" name="lcode.c" compile="1" resource="0" file="Source/Lua/lcode.c"/>
17-
<FILE id="XFAeR5" name="lcode.h" compile="0" resource="0" file="Source/Lua/lcode.h"/>
18-
<FILE id="U1YsRi" name="lcorolib.c" compile="1" resource="0" file="Source/Lua/lcorolib.c"/>
19-
<FILE id="ecxQ0v" name="lctype.c" compile="1" resource="0" file="Source/Lua/lctype.c"/>
20-
<FILE id="w077S5" name="lctype.h" compile="0" resource="0" file="Source/Lua/lctype.h"/>
21-
<FILE id="dmmfRd" name="ldblib.c" compile="1" resource="0" file="Source/Lua/ldblib.c"/>
22-
<FILE id="pR2s2B" name="ldebug.c" compile="1" resource="0" file="Source/Lua/ldebug.c"/>
23-
<FILE id="pI62lQ" name="ldebug.h" compile="0" resource="0" file="Source/Lua/ldebug.h"/>
24-
<FILE id="onnpdk" name="ldo.c" compile="1" resource="0" file="Source/Lua/ldo.c"/>
25-
<FILE id="aBv3ji" name="ldo.h" compile="0" resource="0" file="Source/Lua/ldo.h"/>
26-
<FILE id="pFD7wh" name="ldump.c" compile="1" resource="0" file="Source/Lua/ldump.c"/>
27-
<FILE id="lwpvQg" name="lfunc.c" compile="1" resource="0" file="Source/Lua/lfunc.c"/>
28-
<FILE id="gmCwux" name="lfunc.h" compile="0" resource="0" file="Source/Lua/lfunc.h"/>
29-
<FILE id="RCg5wI" name="lgc.c" compile="1" resource="0" file="Source/Lua/lgc.c"/>
30-
<FILE id="FNfCZE" name="lgc.h" compile="0" resource="0" file="Source/Lua/lgc.h"/>
31-
<FILE id="xIbJRb" name="linit.c" compile="1" resource="0" file="Source/Lua/linit.c"/>
32-
<FILE id="uJlth8" name="liolib.c" compile="1" resource="0" file="Source/Lua/liolib.c"/>
33-
<FILE id="LW0Kge" name="ljumptab.h" compile="0" resource="0" file="Source/Lua/ljumptab.h"/>
34-
<FILE id="IRcWm7" name="llex.c" compile="1" resource="0" file="Source/Lua/llex.c"/>
35-
<FILE id="xnRv2l" name="llex.h" compile="0" resource="0" file="Source/Lua/llex.h"/>
36-
<FILE id="FTZoRw" name="llimits.h" compile="0" resource="0" file="Source/Lua/llimits.h"/>
37-
<FILE id="sbhMh9" name="lmathlib.c" compile="1" resource="0" file="Source/Lua/lmathlib.c"/>
38-
<FILE id="OnPsC3" name="lmem.c" compile="1" resource="0" file="Source/Lua/lmem.c"/>
39-
<FILE id="sCfZPx" name="lmem.h" compile="0" resource="0" file="Source/Lua/lmem.h"/>
40-
<FILE id="eAfzrw" name="loadlib.c" compile="1" resource="0" file="Source/Lua/loadlib.c"/>
41-
<FILE id="PJUx2B" name="lobject.c" compile="1" resource="0" file="Source/Lua/lobject.c"/>
42-
<FILE id="BNEaSa" name="lobject.h" compile="0" resource="0" file="Source/Lua/lobject.h"/>
43-
<FILE id="LWCjK2" name="lopcodes.c" compile="1" resource="0" file="Source/Lua/lopcodes.c"/>
44-
<FILE id="zNywZ8" name="lopcodes.h" compile="0" resource="0" file="Source/Lua/lopcodes.h"/>
45-
<FILE id="cwMEKp" name="lopnames.h" compile="0" resource="0" file="Source/Lua/lopnames.h"/>
46-
<FILE id="tuMYlN" name="loslib.c" compile="1" resource="0" file="Source/Lua/loslib.c"/>
47-
<FILE id="QKKR22" name="lparser.c" compile="1" resource="0" file="Source/Lua/lparser.c"/>
48-
<FILE id="Eg0KoF" name="lparser.h" compile="0" resource="0" file="Source/Lua/lparser.h"/>
49-
<FILE id="MlBn5F" name="lprefix.h" compile="0" resource="0" file="Source/Lua/lprefix.h"/>
50-
<FILE id="iPtuda" name="lstate.c" compile="1" resource="0" file="Source/Lua/lstate.c"/>
51-
<FILE id="G9xyPk" name="lstate.h" compile="0" resource="0" file="Source/Lua/lstate.h"/>
52-
<FILE id="ZkFS34" name="lstring.c" compile="1" resource="0" file="Source/Lua/lstring.c"/>
53-
<FILE id="nc9rmi" name="lstring.h" compile="0" resource="0" file="Source/Lua/lstring.h"/>
54-
<FILE id="i87I4D" name="lstrlib.c" compile="1" resource="0" file="Source/Lua/lstrlib.c"/>
55-
<FILE id="Regzmg" name="ltable.c" compile="1" resource="0" file="Source/Lua/ltable.c"/>
56-
<FILE id="i9i1l0" name="ltable.h" compile="0" resource="0" file="Source/Lua/ltable.h"/>
57-
<FILE id="OicFDn" name="ltablib.c" compile="1" resource="0" file="Source/Lua/ltablib.c"/>
58-
<FILE id="IQL2Yj" name="ltm.c" compile="1" resource="0" file="Source/Lua/ltm.c"/>
59-
<FILE id="YQrNMa" name="ltm.h" compile="0" resource="0" file="Source/Lua/ltm.h"/>
60-
<FILE id="lDNsHv" name="luaconf.h" compile="0" resource="0" file="Source/Lua/luaconf.h"/>
61-
<FILE id="sllfo0" name="lualib.h" compile="0" resource="0" file="Source/Lua/lualib.h"/>
62-
<FILE id="QRrz2V" name="lundump.c" compile="1" resource="0" file="Source/Lua/lundump.c"/>
63-
<FILE id="nxKAnf" name="lundump.h" compile="0" resource="0" file="Source/Lua/lundump.h"/>
64-
<FILE id="CFpuR0" name="lutf8lib.c" compile="1" resource="0" file="Source/Lua/lutf8lib.c"/>
65-
<FILE id="b1wKmT" name="lvm.c" compile="1" resource="0" file="Source/Lua/lvm.c"/>
66-
<FILE id="d1PCDN" name="lvm.h" compile="0" resource="0" file="Source/Lua/lvm.h"/>
67-
<FILE id="K6VxoE" name="lzio.c" compile="1" resource="0" file="Source/Lua/lzio.c"/>
68-
<FILE id="fDSG6Z" name="lzio.h" compile="0" resource="0" file="Source/Lua/lzio.h"/>
69-
</GROUP>
7010
<GROUP id="{D5F3E85C-C74C-DD52-FD20-16126D69020F}" name="LZMA">
7111
<GROUP id="{18353F9A-E402-D787-9B71-F4474DDFB64B}" name="easylzma">
7212
<FILE id="hGsmTq" name="common.h" compile="0" resource="0" file="lzma/easylzma/common.h"/>
@@ -114,6 +54,7 @@
11454
</GROUP>
11555
<GROUP id="{FDC7D40D-3BDD-00BA-E2B1-46DD35CB5E88}" name="EEL2">
11656
<GROUP id="{028F0C70-E6C2-B821-086B-D7C1FF5BE85B}" name="NumericSystem">
57+
<FILE id="foCTlH" name="polyphase.h" compile="0" resource="0" file="../numericSys/polyphase.h"/>
11758
<GROUP id="{3D2C8887-4381-6B9A-7727-BE9C25B0BCAB}" name="libsamplerate">
11859
<FILE id="iFl0Ex" name="common.h" compile="0" resource="0" file="../numericSys/libsamplerate/common.h"/>
11960
<FILE id="ybuqE9" name="samplerate.c" compile="1" resource="0" file="../numericSys/libsamplerate/samplerate.c"/>
@@ -205,9 +146,8 @@
205146
</XCODE_MAC>
206147
<VS2017 targetFolder="Builds/VisualStudio2017">
207148
<CONFIGURATIONS>
208-
<CONFIGURATION isDebug="0" name="Release" fastMath="1" optimisation="3" winArchitecture="Win32"
209-
useRuntimeLibDLL="0"/>
210-
<CONFIGURATION isDebug="1" name="Debug" fastMath="1" winArchitecture="Win32"/>
149+
<CONFIGURATION isDebug="0" name="Release" fastMath="1" optimisation="3" useRuntimeLibDLL="0"/>
150+
<CONFIGURATION isDebug="1" name="Debug" fastMath="1"/>
211151
</CONFIGURATIONS>
212152
<MODULEPATHS>
213153
<MODULEPATH id="juce_gui_extra" path="../../../../JUCE/modules"/>

Plugin/Source/PluginProcessor.cpp

Lines changed: 1 addition & 221 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ LiveProgrammableDSP::LiveProgrammableDSP() : treeState(*this, nullptr, "Paramete
1616
compileSucessfully = 0;
1717
codehandleInit = 0;
1818
codehandleProcess = 0;
19-
actualLuaVM = 0;
20-
luaStructRef = LUA_NOREF;
21-
luaProcessRef = LUA_NOREF;
2219
NSEEL_start();
2320
vm = NSEEL_VM_alloc(); // create virtual machine
2421
vmFs = NSEEL_VM_regvar(vm, "srate");
@@ -96,14 +93,6 @@ LiveProgrammableDSP::~LiveProgrammableDSP()
9693
NSEEL_VM_free(vm);
9794
}
9895
NSEEL_quit();
99-
if (actualLuaVM)
100-
{
101-
if (luaProcessRef != LUA_NOREF)
102-
luaL_unref(actualLuaVM, LUA_REGISTRYINDEX, luaProcessRef);
103-
if (luaStructRef != LUA_NOREF)
104-
luaL_unref(actualLuaVM, LUA_REGISTRYINDEX, luaStructRef);
105-
lua_close(actualLuaVM);
106-
}
10796
}
10897
AudioProcessorValueTreeState::ParameterLayout LiveProgrammableDSP::createParameterLayout()
10998
{
@@ -124,26 +113,6 @@ void LiveProgrammableDSP::prepareToPlay(double sampleRate, int samplesPerBlock)
124113
ScopedLock lock(criticalSection);
125114
NSEEL_code_execute(codehandleInit);
126115
}
127-
if (compileSucessfully == 2)
128-
{
129-
ScopedLock lock(criticalSection);
130-
int top = lua_gettop(actualLuaVM);
131-
int retType = lua_getglobal(actualLuaVM, "init"); // function to be called
132-
lua_pushnumber(actualLuaVM, fs); // push 1st argument
133-
// do the call (1 arguments, 1 table)
134-
lua_call(actualLuaVM, 1, LUA_MULTRET);
135-
// check the return value
136-
if (lua_gettop(actualLuaVM) - top) {
137-
// store userdata to a pointer
138-
luaStructRef = luaL_ref(actualLuaVM, LUA_REGISTRYINDEX);
139-
}
140-
else
141-
{
142-
char erMsg[70] = "Lua: Fail to get reference while re-set sample rate, stop compiling\n";
143-
EEL_STRING_STDOUT_WRITE(erMsg, 69);
144-
lua_close(actualLuaVM);
145-
}
146-
}
147116
}
148117
const String LiveProgrammableDSP::getName() const
149118
{
@@ -203,6 +172,7 @@ void LiveProgrammableDSP::processBlock(AudioBuffer<float>& buffer, MidiBuffer&)
203172
{
204173
// number of samples per buffer
205174
const int n = buffer.getNumSamples();
175+
const int pcmChannels = 6;
206176
// input channels
207177
const float *inputs[6] = { buffer.getReadPointer(0), buffer.getReadPointer(1), buffer.getReadPointer(2), buffer.getReadPointer(3), buffer.getReadPointer(4), buffer.getReadPointer(5) };
208178
// output channels
@@ -227,30 +197,6 @@ void LiveProgrammableDSP::processBlock(AudioBuffer<float>& buffer, MidiBuffer&)
227197
outputs[5][i] = (float)*input6;
228198
}
229199
}
230-
if (compileSucessfully == 2)
231-
{
232-
ScopedLock lock(criticalSection);
233-
for (int i = 0; i < n; i++)
234-
{
235-
lua_rawgeti(actualLuaVM, LUA_REGISTRYINDEX, luaProcessRef);
236-
lua_rawgeti(actualLuaVM, LUA_REGISTRYINDEX, luaStructRef);
237-
// Push variable to stack
238-
lua_pushnumber(actualLuaVM, inputs[0][i]);
239-
lua_pushnumber(actualLuaVM, inputs[1][i]);
240-
lua_pushnumber(actualLuaVM, inputs[2][i]);
241-
lua_pushnumber(actualLuaVM, inputs[3][i]);
242-
lua_pushnumber(actualLuaVM, inputs[4][i]);
243-
lua_pushnumber(actualLuaVM, inputs[5][i]);
244-
lua_call(actualLuaVM, 7, 6);
245-
outputs[0][i] = (float)lua_tonumber(actualLuaVM, -6);
246-
outputs[1][i] = (float)lua_tonumber(actualLuaVM, -5);
247-
outputs[2][i] = (float)lua_tonumber(actualLuaVM, -4);
248-
outputs[3][i] = (float)lua_tonumber(actualLuaVM, -3);
249-
outputs[4][i] = (float)lua_tonumber(actualLuaVM, -2);
250-
outputs[5][i] = (float)lua_tonumber(actualLuaVM, -1);
251-
lua_pop(actualLuaVM, 6);
252-
}
253-
}
254200
}
255201
bool LiveProgrammableDSP::hasEditor() const
256202
{
@@ -350,177 +296,11 @@ int LiveProgrammableDSP::compileEEL(const char *eelCode, size_t strLen)
350296
free(codeTextProcess);
351297
return 1;
352298
}
353-
int LiveProgrammableDSP::validateLua(const char *luaCode, size_t strLen)
354-
{
355-
lua_State *L = luaL_newstate(); // create state
356-
luaL_openlibs(L); // open standard libraries
357-
lua_settop(L, 0);
358-
char *concatedStr = (char*)malloc(strLen + 256);
359-
int outLen = stbsp_snprintf(concatedStr, strLen + 256, "%s\nprocess(init(%lf), %lf, %lf)", luaCode, nseel_int_rand(192000.0), nseel_int_rand(1.0), nseel_int_rand(1.0));
360-
int err = luaL_loadbuffer(L, concatedStr, outLen, "LiveProg");
361-
free(concatedStr);
362-
EEL_STRING_STDOUT_WRITE("Lua: Test run\n", 14);
363-
if (err)
364-
{
365-
char erMsg[256] = { 0 };
366-
int msgLen = stbsp_snprintf(erMsg, 256, "Lua error %d\n%s\n", err, lua_tostring(L, -1));
367-
EEL_STRING_STDOUT_WRITE(erMsg, msgLen);
368-
lua_pop(L, 1); // pop error message from the stack
369-
lua_close(L);
370-
return -1;
371-
}
372-
err = lua_pcall(L, 0, 0, 0);
373-
if (err)
374-
{
375-
char erMsg[256] = { 0 };
376-
int msgLen = stbsp_snprintf(erMsg, 256, "Lua error %d\n%s\n", err, lua_tostring(L, -1));
377-
EEL_STRING_STDOUT_WRITE(erMsg, msgLen);
378-
lua_pop(L, 1); // pop error message from the stack
379-
lua_close(L);
380-
return -1;
381-
}
382-
// Table return
383-
int userDataRef = LUA_NOREF;
384-
int top = lua_gettop(L);
385-
int retType = lua_getglobal(L, "init"); // function to be called
386-
lua_pushnumber(L, fs); // push 1st argument
387-
// do the call (1 arguments, 1 table)
388-
if (lua_pcall(L, 1, LUA_MULTRET, 0) != 0)
389-
{
390-
char erMsg[256] = { 0 };
391-
int msgLen = stbsp_snprintf(erMsg, 256, "Lua error %d\nerror running function 'init': %s\n", err, lua_tostring(L, -1));
392-
EEL_STRING_STDOUT_WRITE(erMsg, msgLen);
393-
lua_pop(L, 1); // pop error message from the stack
394-
lua_close(L);
395-
return 1;
396-
}
397-
int retClass = lua_istable(L, -1);
398-
if (!retClass)
399-
{
400-
char erMsg[55] = "Lua: init function must return table, stop compiling\n";
401-
EEL_STRING_STDOUT_WRITE(erMsg, 54);
402-
lua_close(L);
403-
return 2;
404-
}
405-
// check the return value
406-
if (lua_gettop(L) - top) {
407-
// store userdata to a pointer
408-
userDataRef = luaL_ref(L, LUA_REGISTRYINDEX);
409-
}
410-
else
411-
{
412-
char erMsg[45] = "Lua: Fail to get reference, stop compiling\n";
413-
EEL_STRING_STDOUT_WRITE(erMsg, 44);
414-
lua_close(L);
415-
return 3;
416-
}
417-
lua_getglobal(L, "process"); // function to be called
418-
int process = luaL_ref(L, LUA_REGISTRYINDEX);
419-
if (userDataRef != LUA_NOREF && userDataRef != LUA_REFNIL)
420-
{
421-
lua_rawgeti(L, LUA_REGISTRYINDEX, process);
422-
lua_rawgeti(L, LUA_REGISTRYINDEX, userDataRef);
423-
// Push variable to stack
424-
lua_pushnumber(L, 0.5);
425-
lua_pushnumber(L, -0.15);
426-
if (lua_pcall(L, 3, 2, 0) != 0)
427-
{
428-
char erMsg[256] = { 0 };
429-
int msgLen = stbsp_snprintf(erMsg, 256, "Lua error %d\nerror running function 'process': %s\n", err, lua_tostring(L, -1));
430-
EEL_STRING_STDOUT_WRITE(erMsg, msgLen);
431-
lua_pop(L, 1); // pop error message from the stack
432-
lua_close(L);
433-
return 1;
434-
}
435-
double y1 = lua_tonumber(L, -2);
436-
double y2 = lua_tonumber(L, -1);
437-
lua_pop(L, 2);
438-
}
439-
else
440-
{
441-
char erMsg[42] = "Lua: Reference go wrong, stop compiling\n";
442-
EEL_STRING_STDOUT_WRITE(erMsg, 41);
443-
}
444-
luaL_unref(L, LUA_REGISTRYINDEX, process);
445-
luaL_unref(L, LUA_REGISTRYINDEX, userDataRef);
446-
lua_close(L);
447-
return LUA_OK;
448-
}
449-
void LiveProgrammableDSP::LoadLuaCode(const char *luaCode, size_t strLen)
450-
{
451-
ScopedLock lock(criticalSection);
452-
compileSucessfully = 0;
453-
int i;
454-
if (actualLuaVM)
455-
{
456-
if (luaProcessRef != LUA_NOREF)
457-
luaL_unref(actualLuaVM, LUA_REGISTRYINDEX, luaProcessRef);
458-
luaProcessRef = LUA_NOREF;
459-
if (luaStructRef != LUA_NOREF)
460-
luaL_unref(actualLuaVM, LUA_REGISTRYINDEX, luaStructRef);
461-
luaStructRef = LUA_NOREF;
462-
lua_close(actualLuaVM);
463-
actualLuaVM = 0;
464-
}
465-
actualLuaVM = luaL_newstate(); // create state
466-
luaL_openlibs(actualLuaVM); // open standard libraries
467-
lua_settop(actualLuaVM, 0);
468-
int err = luaL_loadbuffer(actualLuaVM, luaCode, strLen, "LiveProg");
469-
if (err)
470-
{
471-
char erMsg[256] = { 0 };
472-
int msgLen = stbsp_snprintf(erMsg, 256, "Lua error %d\n%s\nFatal code loading error after validation\n", err, lua_tostring(actualLuaVM, -1));
473-
EEL_STRING_STDOUT_WRITE(erMsg, msgLen);
474-
lua_pop(actualLuaVM, 1); // pop error message from the stack
475-
lua_close(actualLuaVM);
476-
return;
477-
}
478-
lua_call(actualLuaVM, 0, 0);
479-
int top = lua_gettop(actualLuaVM);
480-
int retType = lua_getglobal(actualLuaVM, "init"); // function to be called
481-
lua_pushnumber(actualLuaVM, fs); // push 1st argument
482-
// do the call (1 arguments, 1 table)
483-
lua_call(actualLuaVM, 1, LUA_MULTRET);
484-
// check the return value
485-
if (lua_gettop(actualLuaVM) - top) {
486-
// store userdata to a pointer
487-
luaStructRef = luaL_ref(actualLuaVM, LUA_REGISTRYINDEX);
488-
}
489-
else
490-
{
491-
char erMsg[105] = "Lua: Fail to get reference after validation, stop compiling\nFatal get reference error after validation\n";
492-
EEL_STRING_STDOUT_WRITE(erMsg, 104);
493-
lua_close(actualLuaVM);
494-
return;
495-
}
496-
lua_getglobal(actualLuaVM, "process"); // function to be called
497-
luaProcessRef = luaL_ref(actualLuaVM, LUA_REGISTRYINDEX);
498-
compileSucessfully = 2;
499-
EEL_STRING_STDOUT_WRITE("Lua: Code looks OK\n", 16);
500-
}
501-
int LiveProgrammableDSP::compileLua(const char *luaCode, size_t strLen)
502-
{
503-
EEL_STRING_STDOUT_WRITE("Code text is not EEL, compiling code as Lua\n", 45);
504-
int ret = validateLua(luaCode, strLen);
505-
if (ret != LUA_OK)
506-
{
507-
EEL_STRING_STDOUT_WRITE("Lua compilation failed\n", 24);
508-
compileSucessfully = 0;
509-
return 0;
510-
}
511-
else
512-
{
513-
LoadLuaCode(luaCode, strLen);
514-
return 1;
515-
}
516-
}
517299
void LiveProgrammableDSP::playButtonClicked(String codetext)
518300
{
519301
int strLen = codetext.length();
520302
const char *textbuf = codetext.toRawUTF8();
521303
int eelSuccess = compileEEL(textbuf, strLen);
522-
if (!eelSuccess)
523-
int luaSuccess = compileLua(textbuf, strLen);
524304
}
525305
AudioProcessor* JUCE_CALLTYPE createPluginFilter()
526306
{

Plugin/Source/PluginProcessor.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
#pragma once
22
#include "../JuceLibraryCode/JuceHeader.h"
33
#include "../../eelCommon.h"
4-
extern "C"
5-
{
6-
#include "lua/lua.h"
7-
#include "lua/lauxlib.h"
8-
#include "lua/lualib.h"
9-
}
104
class LiveProgrammableDSP : public AudioProcessor, public AudioProcessorValueTreeState::Listener
115
{
126
public:
@@ -41,15 +35,9 @@ class LiveProgrammableDSP : public AudioProcessor, public AudioProcessorValueTre
4135
NSEEL_VMCTX vm;
4236
NSEEL_CODEHANDLE codehandleInit, codehandleProcess;
4337
float *vmFs, *input1, *input2, *input3, *input4, *input5, *input6;
44-
// Lua VM
45-
lua_State *actualLuaVM;
46-
int luaStructRef, luaProcessRef;
4738
//
4839
void LoadEELCode(char *codeTextInit, char *codeTextProcess);
49-
void LoadLuaCode(const char *eelCode, size_t strLen);
5040
int compileEEL(const char *eelCode, size_t strLen);
51-
int validateLua(const char *eelCode, size_t strLen);
52-
int compileLua(const char *eelCode, size_t strLen);
5341
void playButtonClicked(String codetext);
5442
String restoredText;
5543

0 commit comments

Comments
 (0)