Inheritance: IChannelBase
コード例 #1
0
 protected override void SetupChannels(byte[] channelData, int offset)
 {
     _numberOfChannels = channelData[offset];
     offset++;
     for (byte cnt = 0; cnt < _numberOfChannels; cnt++)
     {
         ushort chDataStart = (ushort)(channelData.ToUInt16(offset + cnt * 2) + _musicDataLoc);
         _channels[cnt] = new AdLibChannel(_opl, _musicData, chDataStart);
     }
 }
コード例 #2
0
ファイル: AdLibMusic.cs プロジェクト: scemino/nscumm
 protected override void SetupChannels(byte[] channelData, int offset)
 {
     _numberOfChannels = channelData[offset];
     offset++;
     for (byte cnt = 0; cnt < _numberOfChannels; cnt++)
     {
         ushort chDataStart = (ushort)(channelData.ToUInt16(offset + cnt * 2) + _musicDataLoc);
         _channels[cnt] = new AdLibChannel(_opl, _musicData, chDataStart);
     }
 }