diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-07 00:36:41 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-07 00:36:41 +0100 |
| commit | df719c87e3a48903805c5f63c7e0cb5ed361104d (patch) | |
| tree | e0b543a77fa5d4e5a0317d6f490d9c447cb2a28f /client.tes | |
| parent | ddd66308d67ae29b59b81bd83fe0506e4a11d08b (diff) | |
| download | applause2-df719c87e3a48903805c5f63c7e0cb5ed361104d.tar.gz | |
use the LuaJIT FFI interface for the MIDI streams
* should speed up things since the C function calls can be inlined
* the C function does only rudimentary argument checking using assert()
since they are only called internally.
This means, calling it with wrong arguments can result in controlled
crashes. This will point to programming errors since the real argument
checking is done in Lua code at stream construction.
* The MIDI*Stream.getValue() functions have been kept as wrappers around
the native functions, to ease using them in other stream implementations
that want to support MIDI natively.
Diffstat (limited to 'client.tes')
0 files changed, 0 insertions, 0 deletions
