<?phpnamespace App\Alis;/** Generated from the C struct of the same name (tools/structs.py), then edited by hand. */final class sMV2Audio{ /** C: sAudioVoice voices[4]: array of sAudioVoice */ public array $voices = []; /** C: sChipChannel chipch[3]: array of sChipChannel */ public array $chipch = []; /** C: u32 tabfrq[0x358] */ public array $tabfrq = []; /** C: u16 defvolins */ public int $defvolins = 0; /** C: u8 defvol[32] */ public array $defvol = []; /** C: s16 trkval[36] */ public array $trkval = []; /** C: s16 prevmufreq */ public int $prevmufreq = 0; /** C: s16 prevmuvol */ public int $prevmuvol = 0; /** C: u16 mutype */ public int $mutype = 0; /** C: u16 mufreq */ public int $mufreq = 0; /** C: u16 muchip */ public int $muchip = 0; /** C: u16 muopl2 */ public int $muopl2 = 0; /** C: u16 muptr */ public int $muptr = 0; /** C: u16 mumax */ public int $mumax = 0; /** C: u16 mucnt */ public int $mucnt = 0; /** C: u16 mubufa */ public int $mubufa = 0; /** C: u16 mubufc */ public int $mubufc = 0; /** C: u16 muspeed */ public int $muspeed = 0; /** C: u16 muvolgen */ public int $muvolgen = 0; /** C: u16 mubreak */ public int $mubreak = 0; /** C: u16 mutadata */ public int $mutadata = 0; /** C: u32 frqmod */ public int $frqmod = 0; /** C: u16 samples */ public int $samples = 0; /** C: s16 chipmixer */ public int $chipmixer = 0; public function __construct() { $this->voices = array_map(fn () => new sAudioVoice(), range(1, 4)); $this->chipch = array_map(fn () => new sChipChannel(), range(1, 3)); $this->tabfrq = array_fill(0, 856, 0); $this->defvol = array_fill(0, 32, 0); $this->trkval = array_fill(0, 36, 0); }}