9#include <vorbis/vorbisfile.h>
14#define AUDIO_METATABLE "audio"
16typedef enum LuaAudioType_e {
22typedef struct LuaBuffer_s {
27typedef struct LuaAudio_s {
LuaAudio_t * lua_toaudio(lua_State *L, int ind)
Gets audio at index.
LuaAudio_t * lua_pushaudio(lua_State *L, LuaAudio_t audio)
Pushes a audio on the stack.
int lua_isaudio(lua_State *L, int ind)
Checks to see if ind is a audio.
LuaAudio_t * luaL_checkaudio(lua_State *L, int ind)
Gets audio at index or raises error if there is no audio at index.
int nlua_loadAudio(nlua_env env)
Loads the audio library.