aboutsummaryrefslogtreecommitdiffhomepage
path: root/sndfile.lua
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-07 00:36:41 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-07 00:36:41 +0100
commitdf719c87e3a48903805c5f63c7e0cb5ed361104d (patch)
treee0b543a77fa5d4e5a0317d6f490d9c447cb2a28f /sndfile.lua
parentddd66308d67ae29b59b81bd83fe0506e4a11d08b (diff)
downloadapplause2-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 'sndfile.lua')
0 files changed, 0 insertions, 0 deletions