diff --git a/sdcard/3ds/ctruLua/examples/audio/audio.lua b/sdcard/3ds/ctruLua/examples/audio/audio.lua index d794708..34dead2 100644 --- a/sdcard/3ds/ctruLua/examples/audio/audio.lua +++ b/sdcard/3ds/ctruLua/examples/audio/audio.lua @@ -47,6 +47,7 @@ while true do gfx.text(5, 65, "Speed: "..(speed*100).."% - Left balance: "..(leftBalance*100).."%") gfx.stop() + audio.update() gfx.render() end diff --git a/source/audio.c b/source/audio.c index 9308cfe..bc6aca5 100644 --- a/source/audio.c +++ b/source/audio.c @@ -931,7 +931,7 @@ static int audio_object_stop(lua_State *L) { /*** Returns the audio object type. @function :type -@treturn string "ogg" or "wav" +@treturn string "ogg", "wav" or "raw" */ static int audio_object_type(lua_State *L) { audio_userdata *audio = luaL_checkudata(L, 1, "LAudio");