//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)); }
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())); }