Example #1
0
 private void ChangeMainVolume(object sender, FaderEventArgs e) =>
 mainOutput.SetFaderLevel(e.Position / 127f);
Example #2
0
 private void ChangeVolume(object sender, FaderEventArgs e) =>
 channels[e.Channel - 1].SetFaderLevel(e.Position / 1023f);