public void Convert(SND.sound_pitch_range_block.sound_permutations_block perm) { sound_permutation_raw_info_block raw; RawInfoBlock.Add(out raw); raw.Convert(perm); }
public void Convert(int index, SND.sound_pitch_range_block.sound_permutations_block h1) { this.Name.ResetFromString(h1.Name); this.SkipFraction.Value = h1.SkipFraction.Value; this.Gain.Value = h1.Gain.Value; this.SamplesSize.Value = h1.Samples.Value.Length; this.RawInfo.Value = index; }
public void Convert(SND.sound_pitch_range_block.sound_permutations_block h1) { Debug.Assert.If(h1.Compression.Value != 3, "Can't convert ogg sounds! '{0}'", h1.Name.Value); h1.Samples.CopyTo(this.Samples); h1.Mouth.CopyTo(this.MouthData); this.Compression.Value = h1.Compression.Value; }