public clsPcmDatSeq( enmPcmDefineType type , string FileName , enmChipType chip , int chipNumber , int SrcStartAdr , int DesStartAdr , int Length , object[] Option) { this.type = type; this.FileName = FileName; this.chip = chip; this.chipNumber = chipNumber; this.SrcStartAdr = SrcStartAdr; this.DesStartAdr = DesStartAdr; this.SrcLength = Length; this.Option = Option; if (chip == enmChipType.YM2610B) { if (Option != null) { this.DatLoopAdr = Option.ToString() == "0" ? 0 : 1; } else { this.DatLoopAdr = 0; } ; } }
public clsPcmDatSeq( enmPcmDefineType type , int No , string FileName , int BaseFreq , int Volume , enmChipType chip , int chipNumber , int LoopAdr) { this.type = type; this.No = No; this.FileName = FileName; this.BaseFreq = BaseFreq; this.Volume = Volume; this.chip = chip; this.chipNumber = chipNumber; this.DatLoopAdr = LoopAdr; }
public clsPcmDatSeq( enmPcmDefineType type , int No , string FileName , int BaseFreq , int Volume , enmChipType chip , bool isSecondary , int LoopAdr) { this.type = type; this.No = No; this.FileName = FileName; this.BaseFreq = BaseFreq; this.Volume = Volume; this.chip = chip; this.isSecondary = isSecondary; this.DatLoopAdr = LoopAdr; }
public clsPcmDatSeq( enmPcmDefineType type , int No , enmChipType chip , int chipNumber , int BaseFreq , int DatStartAdr , int DatEndAdr , int DatLoopAdr , object[] Option) { this.type = type; this.No = No; this.chip = chip; this.chipNumber = chipNumber; this.BaseFreq = BaseFreq; this.DatStartAdr = DatStartAdr; this.DatEndAdr = DatEndAdr; this.DatLoopAdr = DatLoopAdr; this.Option = Option; }