Пример #1
0
        public void Initialise(Channel channel)
        {
            _channel = channel;
            _plugins = PluginHelper.FindVstPlugins().Select(plugin => new PluginModel
            {
                Location = plugin.Location,
                Name = plugin.Name
            }).ToList();

            listBuilder.PropertiesButtonVisible = true;
            BindData();
        }
        public OutputSplitter(MixerChannel inputChannel, Channel speakerChannel,
            Channel monitorChannel)
        {
            SpeakerMixerChannel = new MixerChannel(inputChannel.BpmProvider);
            SpeakerMixerChannel.AddInputChannel(inputChannel);
            speakerChannel.AddInputChannel(SpeakerMixerChannel);

            MonitorMixerChannel = new MixerChannel(inputChannel.BpmProvider);
            MonitorMixerChannel.AddInputChannel(inputChannel);
            monitorChannel.AddInputChannel(MonitorMixerChannel);

            SoundOutput = SoundOutput.Speakers;
        }