Пример #1
0
        // ReSharper restore EventNeverSubscribedTo.Global
        #endregion

        public DissonanceComms()
        {
            _playbackPool            = new PlaybackPool(_codecSettings, (IPriorityManager)this, (IVolumeProvider)this);
            _playerChannels          = new PlayerChannels((IChannelPriorityProvider)this);
            _roomChannels            = new RoomChannels((IChannelPriorityProvider)this);
            _text                    = new TextChat(() => _net);
            _autoChannelDuck         = new OpenChannelVolumeDuck(_roomChannels, _playerChannels);
            _playerTrackers          = new PlayerTrackerManager(_players);
            _playbackPriorityManager = new PriorityManager(_players);
            _capture                 = new CapturePipelineManager(_codecSettings, _roomChannels, _playerChannels, Players);
        }