Skip to content

Files

Latest commit

Jun 15, 2022
e1a3375 · Jun 15, 2022

History

History
61 lines (39 loc) · 2.56 KB

README.md

File metadata and controls

61 lines (39 loc) · 2.56 KB

Lua C-APIs

C-APIs for native Lua module interoperation

Carray C API

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.

Notify C API

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.

Receiver C API

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.

Sender C API

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.

Auproc C API

The Auproc C API makes it possible to decouple Lua modules providing an audio processing engine from Lua modules providing realtime audio processor objects.