Exemplo n.º 1
0
        static public WaveBankMiniWaveFormat Read(Stream source)
        {
            BinaryReader           reader = new BinaryReader(source);
            WaveBankMiniWaveFormat result = new WaveBankMiniWaveFormat();

            result.Value = reader.ReadInt32();
            return(result);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public static WaveBankMiniWaveFormat Read(Stream source)
 {
     BinaryReader reader = new BinaryReader(source);
     WaveBankMiniWaveFormat result = new WaveBankMiniWaveFormat();
     result.Value = reader.ReadInt32();
     return result;
 }