Currently runs in the main thread because I can't get it to work on another thread.
You will need to call audio.update() each frame to make audio streaming work.
To communicate with a thread, use sockets on localhost, this should work.
Or use the return code, or the "last error", but that's crappy.
For the return code, just `return <number>`; only works with integers.
Tremor is extremly similar to libogg but only uses integers (and doesn't provide an encoder). The playing problem with libvorbis was probably a float-precision related issue.
No need for make build-all.
Added libogg, libvorbis and libvorbisfile to 3ds_portlibs. You will need to compile thems using make build-portlibs. Opening OGG files works but they play badly.
Added a very simple error handler in main.lua
Added audio example.
Renamed isGfxInitialised to isGfxInitialized.
Did you know? The audio module is the longest ctrµLua module.