int w_SoundData_getChannels(lua_State *L) { SoundData *t = luax_checksounddata(L, 1); lua_pushinteger(L, t->getChannels()); return 1; }