コード例 #1
0
ファイル: Recorder.cs プロジェクト: vipermetcaff/spy-spotify
        public Recorder(IFrmEspionSpotify form, IMainAudioSession audioSession, UserSettings userSettings, Track track, IFileSystem fileSystem)
        {
            _userSettings = new UserSettings();
            userSettings.CopyAllTo(_userSettings);

            _form         = form;
            _audioSession = audioSession;
            _fileSystem   = fileSystem;
            _track        = track;
            _fileManager  = new FileManager(_userSettings, _track, fileSystem);
        }
コード例 #2
0
ファイル: MapperID3.cs プロジェクト: jwallet/spy-spotify
        public MapperID3(IFileSystem fileSystem, string currentFile, Track track, UserSettings userSettings)
        {
            _userSettings = new UserSettings();
            userSettings.CopyAllTo(_userSettings);

            _fileSystem = fileSystem;
            CurrentFile = currentFile;
            Track       = track;
            OrderNumberInMediaTagEnabled = _userSettings.OrderNumberInMediaTagEnabled;
            Count = _userSettings.OrderNumberAsTag;
            _extraTitleToSubtitleEnabled = _userSettings.ExtraTitleToSubtitleEnabled;
        }
コード例 #3
0
ファイル: Recorder.cs プロジェクト: jwallet/spy-spotify
        public Recorder(
            IFrmEspionSpotify form,
            IAudioThrottler audioThrottler,
            UserSettings userSettings,
            ref Track track,
            IFileSystem fileSystem,
            bool init)
        {
            _userSettings = new UserSettings();
            userSettings.CopyAllTo(_userSettings);

            _form           = form;
            _audioThrottler = audioThrottler;
            _fileSystem     = fileSystem;
            _track          = track;
            _fileManager    = new FileManager(_userSettings, _track, fileSystem);

            _initiated = init && Init();
        }