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