public void Load(AssetReader reader) { m_Name = reader.ReadString(); reader.Align(); if (reader.Format > 9) { m_LoadType = reader.ReadInt32(); m_Channels = reader.ReadInt32(); m_Frequency = reader.ReadInt32(); m_BitsPerSample = reader.ReadInt32(); m_Length = reader.ReadFloat(); m_IsTrackerFormat = reader.ReadBool(); reader.Align(); m_SubsoundIndex = reader.ReadInt32(); m_PreloadAudioData = reader.ReadBool(); m_LoadInBackground = reader.ReadBool(); m_Legacy3D = reader.ReadBool(); reader.Align(); m_Source = reader.ReadString(); reader.Align(); m_Offset = reader.ReadInt64(); m_Size = reader.ReadInt64(); m_CompressionFormat = reader.ReadInt32(); } else { m_LoadType = reader.ReadInt32(); m_CompressionFormat = reader.ReadInt32(); reader.ReadInt32(); reader.ReadInt32(); m_Size = reader.ReadUInt32(); } }