public void AddInputChannel(MixerChannel inputChannel) { switch (inputChannel.OutputType) { case MixerChannelOutputType.SingleOutput: ChannelHelper.AddChannelToMixer(ChannelId, inputChannel.ChannelId); break; case MixerChannelOutputType.MultipleOutputs: var splitOutputChannel = ChannelHelper.SplitDecoderMixer(inputChannel.ChannelId); ChannelHelper.AddChannelToMixer(ChannelId, splitOutputChannel); break; default: throw new ArgumentOutOfRangeException(); } }