//private Thread _th;
 public void Init(IExtensionAccess contract)
 {
     _access = contract;
     _myPipe = new PipeServer { PlaybackManager = _access.PlaybackManagerInstance };
     //_th = new Thread(() => _myPipe.Run());
     //_th.Start();
     _access.IconManagerInstance.Add("mci:btnIcon", new FileIcon(PathStringUtils.GetExePath() + "mc.png", true));
 }
Esempio n. 2
0
        internal void Init()
        {
            _equalizerBands = new ObservableCollection <IEqualizerBand>();

            // Load built-in codecs
            AddCodec(new CoreCodec());
            AddCodec(new VorbisCodec());
            AddCodec(new FlacCodec());

            // Load external codecs
            _codecs.AddRange(ExtensionLoader.GetExtensions <ICodec>(PathStringUtils.GetExePath()));
        }