internal CUEConverter(EncoderLAME Lame, string FileName, List<TrackDescriptor> Cues, string Outdir, string TempDir) { _Lame = Lame; _Cues = Cues; _TempDir = TempDir; _FileName = new FileChecker(FileName, _TempDir); _FileName.Temporize(); _Output = Outdir; }
internal SimpleConverter(EncoderLAME Lame, string FileName, string Outdir, string TempDir) { _FileName = new FileChecker(FileName, TempDir); _Lame = Lame; _FileName.Temporize(); _Lame.InputFile = _FileName.ToBeConsidered; if (!Directory.Exists(Outdir)) throw new InvalidDataException("Should provide a valid folder."); string FinalName = FileInternalToolBox.CreateNewAvailableName(Outdir, Path.GetFileNameWithoutExtension(_FileName.Desired), FileServices.MP3); _Out = new FileChecker(FinalName, TempDir); _Lame.OutputFile = _Out.ToBeConsidered; }