int w_SoundData_getDuration(lua_State *L) { SoundData *t = luax_checksounddata(L, 1); lua_pushnumber(L, t->getDuration()); return 1; }