public BassMediaPlayer([NotNull] IEventAggregator aggregator)
        {
            _visualHelper = new VisualHelper();
            _memoryManager = new MemoryManager();
            _equalizer = new Equalizer();

            _play = aggregator.GetEvent<RadioPlayerPlay, EventArgs>();
            _stop = aggregator.GetEvent<RadioPlayerStop, EventArgs>();
            _titleRecived = aggregator.GetEvent<RadioPlayerTitleRecived, string>();

            _memoryManager.Init();

            BassNet.Registration("*****@*****.**", "2X1533726322323");
        }
        public CoreMediaPlayer([NotNull] IEventAggregator aggregator)
        {
            //_visualHelper = new VisualHelper();
            _bassConfigurator = BassConfigurator.Configurator;
            _internalEqualizer = new Equalizer();
            _internalPlayerStream = new InternalPlayerStream(this);

            Equalizer = new Contracts.Player.Misc.Equalizer();
            Equalizer.PropertyChanged += EqualizerOnPropertyChanged;

            _play = aggregator.GetEvent<RadioPlayerPlay, EventArgs>();
            _stop = aggregator.GetEvent<RadioPlayerStop, EventArgs>();
            _titleRecived = aggregator.GetEvent<RadioPlayerTitleRecived, string>();
            _newTagEvent = aggregator.GetEvent<RadioPlayerNewTagEvent, ITagInfo>();

            _bassConfigurator.CheckStade();
        }