aboutsummaryrefslogtreecommitdiff
path: root/src/lua/audio/luaopen_audio.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-29 21:30:03 +0800
committerchai <chaifix@163.com>2018-07-29 21:30:03 +0800
commit7ac86950d3a89a996974e8406ee88e8f5f44187d (patch)
treea173ac2e585fa99863ef74fc7d2f7b38f9db7164 /src/lua/audio/luaopen_audio.cpp
parentf94264fa4ba347fc362b4ae2deea5a12ff95f5af (diff)
*update
Diffstat (limited to 'src/lua/audio/luaopen_audio.cpp')
-rw-r--r--src/lua/audio/luaopen_audio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/audio/luaopen_audio.cpp b/src/lua/audio/luaopen_audio.cpp
index 4f4f955..20a6bf4 100644
--- a/src/lua/audio/luaopen_audio.cpp
+++ b/src/lua/audio/luaopen_audio.cpp
@@ -55,7 +55,7 @@ namespace lua
return 0;
}
- static int l_newSound(lua_State* L)
+ static int l_newSource(lua_State* L)
{
Filesystem* fs = Filesystem::get();
const char* f = luax_checkstring(L, 1);
@@ -87,7 +87,7 @@ namespace lua
{"pause", l_pause},
{"resume", l_resume},
{"setVolume",l_setVolume},
- {"Sound", l_newSound},
+ {"Source", l_newSource},
//
{"destroy",l_destroy},
{0, 0}