コード例 #1
0
ファイル: SoundWebMixer.cs プロジェクト: uxav/UX-Simpl-Sharp
 public SoundWebMixer(SoundWeb device, string address, uint channelCount)
     : base(device, address)
 {
     for (uint c = 0; c < channelCount; c++)
     {
         this.channels.Add(new SoundWebMixerChannel(this, c + 1));
     }
 }
コード例 #2
0
ファイル: SoundWebMatrix.cs プロジェクト: uxav/UX-Simpl-Sharp
 public SoundWebMatrix(SoundWeb device, string address, uint inputs, uint outputs)
 {
     this.Device  = device;
     InputCount   = inputs;
     OutputCount  = outputs;
     HiQAddress   = address;
     OutputValues = new Dictionary <uint, uint>();
     for (uint output = 1; output <= outputs; output++)
     {
         OutputValues.Add(output, 0);
     }
     this.FeedbackReceived += new SoundWebObjectFeedbackEventHandler(SoundWebMatrix_FeedbackReceived);
 }
コード例 #3
0
 public SoundWebMultiChannelObject(SoundWeb device, string address)
 {
     this.Device   = device;
     HiQAddress    = address;
     this.channels = new List <SoundWebChannel>();
 }