diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-05 14:20:16 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-01-05 14:20:16 +0100 |
commit | 97df9bd48cb6d4847896377d4eefaead9e2cd75f (patch) | |
tree | d41ab27628cc389e12b8bc21bb5a122826398515 /Makefile | |
parent | 7d222a52c70cc78e80ad0bab2f7f77dd03ad12b8 (diff) | |
download | applause2-97df9bd48cb6d4847896377d4eefaead9e2cd75f.tar.gz |
rewritten Stream:play() as a Lua function
* the low-level C part is now implemented in a normal
C function applause_push_sample() which is called using the FFI
API
* this is supposedly faster than the old Lua/C way, but the
speed improvement seems to be miniscule.
However changes like this are still good since they simplify
the C core.
* speed improvements will probably be larger for the
MIDI*Stream functions since here we call Lua/C functions at
sample rate.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,6 +15,10 @@ CFLAGS += $(LUA_CFLAGS) $(READLINE_CFLAGS) $(JACK_CFLAGS) LDFLAGS += $(LUA_LDFLAGS) $(READLINE_LDFLAGS) $(JACK_LDFLAGS) \ -lpthread +# For exporting function from applause.c that can be called +# with the LuaJIT FFI interface: +LDFLAGS += -rdynamic + all : applause applause : applause.o |