C-APIs for native Lua module interoperation
The Carray C API makes it possible to handle arrays of primitive numeric C data types in Lua script code and also in native C code for enhancing module interoperability and performance.
The Notify C API can be used to get asynchronous notifications from native code running in other threads, e.g. a GUI thread may get a notification interrupting the event loop for processing result data from another thread.
- Lua objects implementing the Notify C API can receive asynchronous notifications.
- Native C code invoking the Notify C API can send asynchronous notifications from any thread.
The Receiver C API can be used to get asynchronous messages from native code running in other threads.
- Lua objects implementing the Receiver C API can receive asynchronous messages.
- Native C code invoking the Receiver C API can send asynchronous messages from any thread.
The Sender C API can be used to send asynchronous messages to native code running in other threads.
- Lua objects implementing the Sender C API can send asynchronous messages.
- Native C code invoking the Sender C API can read the asynchronous messages from any thread.
The Auproc C API makes it possible to decouple Lua modules providing an audio processing engine from Lua modules providing realtime audio processor objects.