public OptionsWindow() { InitializeComponent(); encoderStr = ""; encoderChoice = EncoderParams.EncoderChoice.Invalid; }
public Encoder(EncoderParams encoderParams, BackgroundWorker backworker) { EncoderParams args = encoderParams; flacPath = args.FlacDir; outputPath = args.OutputDir; encoderChoice = args.SelectedEncoder; options = args.CliParams; threadCount = args.Threads; jobQueue = args.JobQueue; copyFiles = args.CopyFiles; ignoreList = args.IgnoreList; copyList = args.CopyList; hidewin = args.Hidewin; thirdPartyLame = args.ThirdPartyLame; replayGainType = args.GainType; maxImageSize = args.MaxImageSize; flacexe = args.FlacExe; oggPath = args.OggPath; lamePath = args.LamePath; metaflacPath = args.MetaflacPath; opusPath = args.OpusPath; bw = backworker; }
private void encodingOptionsButton_Click(object sender, EventArgs e) { EncoderOptions encoderOpts = new EncoderOptions(); if (encoderOpts.ShowDialog(this) != DialogResult.Cancel) { encoderStr = encoderOpts.toString(); encoderChoice = encoderOpts.Encoder; } }