static int QPYX_BitDepth_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 1); UnityEngine.AudioClip QPYX_arg0_YXQP = (UnityEngine.AudioClip)ToLua.CheckObject(L_YXQP, 1, typeof(UnityEngine.AudioClip)); ushort QPYX_o_YXQP = WavUtility.BitDepth(QPYX_arg0_YXQP); LuaDLL.lua_pushnumber(L_YXQP, QPYX_o_YXQP); return(1); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int BitDepth(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.AudioClip arg0 = (UnityEngine.AudioClip)ToLua.CheckObject(L, 1, typeof(UnityEngine.AudioClip)); ushort o = WavUtility.BitDepth(arg0); LuaDLL.lua_pushnumber(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }