static public WaveBankMiniWaveFormat Read(Stream source) { BinaryReader reader = new BinaryReader(source); WaveBankMiniWaveFormat result = new WaveBankMiniWaveFormat(); result.Value = reader.ReadInt32(); return(result); }
static public WaveBankEntry Read(Stream source) { BinaryReader reader = new BinaryReader(source); WaveBankEntry result = new WaveBankEntry(); result.Value = reader.ReadInt32(); result.Format = WaveBankMiniWaveFormat.Read(source); result.PlayRegion = WaveBankRegion.Read(source); result.LoopRegion = WaveBankSampleRegion.Read(source); return(result); }
public static WaveBankMiniWaveFormat Read(Stream source) { BinaryReader reader = new BinaryReader(source); WaveBankMiniWaveFormat result = new WaveBankMiniWaveFormat(); result.Value = reader.ReadInt32(); return result; }