mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
* bumped version and 'about' dialog
* cleaned up HDCD decoding code * added processPriorityIdle option to settings dialog
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using AudioCodecsDotNet;
|
||||
|
||||
//Copyright (c) 2008 Gregory S. Chudov.
|
||||
//This library is based on ALAC decoder by David Hammerton.
|
||||
//See http://crazney.net/programs/itunes/alac.html for details.
|
||||
//Copyright (c) 2004 David Hammerton.
|
||||
|
||||
@@ -345,6 +345,12 @@ namespace APEDotNet {
|
||||
}
|
||||
}
|
||||
|
||||
virtual void Delete()
|
||||
{
|
||||
try { Close (); } catch (Exception^) {}
|
||||
File::Delete(_path);
|
||||
}
|
||||
|
||||
virtual property Int64 FinalSampleCount
|
||||
{
|
||||
Int64 get()
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace AudioCodecsDotNet
|
||||
void Write(int[,] buff, uint sampleCount);
|
||||
bool SetTags(NameValueCollection tags);
|
||||
void Close();
|
||||
void Delete();
|
||||
long FinalSampleCount { set; }
|
||||
string Path { get; }
|
||||
}
|
||||
@@ -141,6 +142,10 @@ namespace AudioCodecsDotNet
|
||||
{
|
||||
}
|
||||
|
||||
public void Delete()
|
||||
{
|
||||
}
|
||||
|
||||
public long FinalSampleCount
|
||||
{
|
||||
set
|
||||
@@ -575,6 +580,14 @@ namespace AudioCodecsDotNet
|
||||
_IO = null;
|
||||
}
|
||||
|
||||
public void Delete()
|
||||
{
|
||||
_bw.Close();
|
||||
_bw = null;
|
||||
_IO = null;
|
||||
File.Delete(_path);
|
||||
}
|
||||
|
||||
public long Position
|
||||
{
|
||||
get
|
||||
|
||||
208
CUETools/License.txt
Normal file
208
CUETools/License.txt
Normal file
@@ -0,0 +1,208 @@
|
||||
********************************************************************************
|
||||
CUETools:
|
||||
--------------------------------------------------------------------------------
|
||||
Copyright (C) 2006-2008 Moitah (moitah@yahoo.com)
|
||||
Copyright (C) 2008 Gregory S. Chudov (gchudov@gmail.com)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
********************************************************************************
|
||||
|
||||
********************************************************************************
|
||||
hdcd.dll:
|
||||
--------------------------------------------------------------------------------
|
||||
Copyright (c) 2006-2008 Christoper Key.
|
||||
|
||||
Permission is hereby granted to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of this software (the Software), subject to
|
||||
the following conditions:
|
||||
|
||||
This notice be included in all copies and substantial portions of the
|
||||
Software.
|
||||
|
||||
The Software shall not be used in any manner that infriges the rights of any
|
||||
third parties, including but not limited to those arising from US Patents
|
||||
5,479,168 and 5,872,531.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
HDCD is a registered trademark of Microsoft Corporation.
|
||||
********************************************************************************
|
||||
|
||||
********************************************************************************
|
||||
unrar.dll:
|
||||
--------------------------------------------------------------------------------
|
||||
The unrar.dll library is freeware. This means:
|
||||
|
||||
1. All copyrights to RAR and the unrar.dll are exclusively
|
||||
owned by the author - Alexander Roshal.
|
||||
|
||||
2. The unrar.dll library may be used in any software to handle RAR
|
||||
archives without limitations free of charge.
|
||||
|
||||
3. THE RAR ARCHIVER AND THE UNRAR.DLL LIBRARY ARE DISTRIBUTED "AS IS".
|
||||
NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
|
||||
YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
|
||||
DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
|
||||
OR MISUSING THIS SOFTWARE.
|
||||
|
||||
Thank you for your interest in RAR and unrar.dll.
|
||||
|
||||
|
||||
Alexander L. Roshal
|
||||
********************************************************************************
|
||||
|
||||
********************************************************************************
|
||||
unrar.cs:
|
||||
--------------------------------------------------------------------------------
|
||||
Author: Michael A. McCloskey
|
||||
Company: Schematrix
|
||||
Version: 20040714
|
||||
|
||||
Personal Comments:
|
||||
I created this unrar wrapper class for personal use
|
||||
after running into a number of issues trying to use
|
||||
another COM unrar product via COM interop. I hope it
|
||||
proves as useful to you as it has to me and saves you
|
||||
some time in building your own products.
|
||||
********************************************************************************
|
||||
|
||||
********************************************************************************
|
||||
ALACDotNet.cs:
|
||||
--------------------------------------------------------------------------------
|
||||
This library is based on ALAC decoder by David Hammerton.
|
||||
See http://crazney.net/programs/itunes/alac.html for details.
|
||||
Copyright (c) 2004 David Hammerton.
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
********************************************************************************
|
||||
|
||||
********************************************************************************
|
||||
libFLAC:
|
||||
--------------------------------------------------------------------------------
|
||||
libFLAC - Free Lossless Audio Codec library
|
||||
Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007,2008 Josh Coalson
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
- Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
- Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
- Neither the name of the Xiph.org Foundation nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
********************************************************************************
|
||||
|
||||
********************************************************************************
|
||||
MAC_SDK:
|
||||
--------------------------------------------------------------------------------
|
||||
Monkey's Audio Source Code License Agreement
|
||||
|
||||
License Agreement
|
||||
|
||||
1. The Monkey's Audio SDK and source code can be freely used to add APE format
|
||||
playback, encoding, or tagging support to any product, free or commercial.
|
||||
Use of the code for proprietary efforts that don't support the official APE
|
||||
format require written consent of the author.
|
||||
|
||||
2. Monkey's Audio source can be included in GPL and open-source software,
|
||||
although Monkey's Audio itself will not be subjected to external licensing
|
||||
requirements or other viral source restrictions.
|
||||
|
||||
3. Code changes and improvements must be contributed back to the Monkey's Audio
|
||||
project free from restrictions or royalties for the sake of the common good,
|
||||
unless exempted by express written consent of the author.
|
||||
|
||||
4. Any source code, ideas, or libraries used must be plainly acknowledged in
|
||||
the software using the code.
|
||||
|
||||
5. Although the software has been tested thoroughly, the author is in no way
|
||||
responsible for damages due to bugs or misuse.
|
||||
|
||||
6. If you do not completely agree with all of the previous stipulations, you
|
||||
must cease using this source code and remove it from your storage device.
|
||||
|
||||
All rights not expressly granted here are reserved by Matthew T. Ashland.
|
||||
|
||||
- All materials and programs copyrighted c2000-2006 by Matthew T. Ashland -
|
||||
|
||||
- All rights reserved. -
|
||||
********************************************************************************
|
||||
|
||||
********************************************************************************
|
||||
libwavpack:
|
||||
--------------------------------------------------------------------------------
|
||||
Copyright (c) 1998 - 2008 Conifer Software
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of Conifer Software nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
********************************************************************************
|
||||
@@ -138,7 +138,7 @@
|
||||
<value>27, 22</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>About CUETools v1.9.2</value>
|
||||
<value>About CUETools v1.9.3</value>
|
||||
</data>
|
||||
<data name=">>button1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
@@ -177,13 +177,16 @@
|
||||
<value>Close</value>
|
||||
</data>
|
||||
<data name="textBox1.Text" xml:space="preserve">
|
||||
<value>AccurateRip, Monkey's Audio and
|
||||
embedded CUE sheet support added in 2008
|
||||
by Greg Chudov, gchudov@gmail.com.
|
||||
Thanks go out to Christopher Key and Whitehobbit
|
||||
for insight on AccurateRip functionality,
|
||||
and to Mr Spoon for permission to use the database.
|
||||
Monkey's Audio library by Matthew T. Ashland.</value>
|
||||
<value>AccurateRip, Monkey's Audio, Apple Lossless, RAR archives, tags
|
||||
and HDCD support (c) Gregory S. Chudov, gchudov@gmail.com.
|
||||
Thanks go out to Christopher Key and Whitehobbit for insight on AccurateRip
|
||||
functionality, and to Mr Spoon for permission to use the database.
|
||||
|
||||
MAC_SDK (c) Matthew T. Ashland
|
||||
mp4 decoder (c) David Hammerton
|
||||
unrar.dll (c) Alexander Roshal
|
||||
Unrar.cs (c) Michael A. McCloskey
|
||||
hdcd.dll (c) Christopher Key</value>
|
||||
</data>
|
||||
<data name=">>linkLabel1.Name" xml:space="preserve">
|
||||
<value>linkLabel1</value>
|
||||
@@ -234,7 +237,4 @@ Monkey's Audio library by Matthew T. Ashland.</value>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Russian (Russia)</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -119,14 +119,17 @@
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="textBox1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>415, 149</value>
|
||||
<value>415, 214</value>
|
||||
</data>
|
||||
<data name="textBox1.Text" xml:space="preserve">
|
||||
<value>Библиотека Monkey's Audio (c) Matthew T. Ashland.
|
||||
Поддержка AccurateRip, Monkey's Audio и встроенных .cue
|
||||
добавлена в 2008 году Григорием Чудовым, gchudov@gmail.com.
|
||||
Спасибо Christopher Key и Whitehobbit за их исследования принципов
|
||||
работы AccurateRip, и Mr Spoon за разрешение пользоваться базой данных.
|
||||
<value>Поддержка AccurateRip, Monkey's Audio, Apple Lossless, RAR архивов,
|
||||
тэгов и HDCD добавлена в 2008 году Григорием Чудовым, gchudov@gmail.com.
|
||||
Спасибо Christopher Key и Whitehobbit за их исследования принципов работы
|
||||
AccurateRip, и Mr Spoon за разрешение пользоваться базой данных.
|
||||
|
||||
MAC_SDK (c) Matthew T. Ashland, mp4 decoder (c) David Hammerton,
|
||||
unrar.dll (c) Alexander Roshal, Unrar.cs (c) Michael A. McCloskey
|
||||
hdcd.dll (c) Christopher Key
|
||||
|
||||
Пользуясь возможностью, хотел бы попросить российских
|
||||
граждан требовать от своего правительства немедленного
|
||||
@@ -134,9 +137,12 @@
|
||||
с оккупированных грузинских территорий. Григорий Чудов.</value>
|
||||
</data>
|
||||
<data name="button1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>182, 208</value>
|
||||
<value>182, 261</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>439, 296</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>CUETools v1.9.2: О программе</value>
|
||||
<value>CUETools v1.9.3: О программе</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -54,6 +54,7 @@ namespace JDP
|
||||
string pathOut;
|
||||
bool _accurateRip;
|
||||
bool _accurateOffset;
|
||||
bool _reducePriority;
|
||||
DateTime _startedAt;
|
||||
List<string> _batchPaths;
|
||||
|
||||
@@ -260,19 +261,13 @@ namespace JDP
|
||||
{
|
||||
textBox1.Hide();
|
||||
SettingsReader sr = new SettingsReader("CUE Tools", "settings.txt");
|
||||
string val;
|
||||
|
||||
_config.Load(sr);
|
||||
|
||||
try
|
||||
{
|
||||
val = sr.Load("CUEStyle");
|
||||
_cueStyle = (val != null) ? (CUEStyle)Int32.Parse(val) : CUEStyle.SingleFile;
|
||||
val = sr.Load("OutputAudioFormat");
|
||||
_audioFormat = (val != null) ? (OutputAudioFormat)Int32.Parse(val) : OutputAudioFormat.WAV;
|
||||
}
|
||||
catch { };
|
||||
|
||||
if (_config.processPriorityIdle)
|
||||
_reducePriority = sr.LoadBoolean("ReducePriority") ?? true;
|
||||
_cueStyle = (CUEStyle?)sr.LoadInt32("CUEStyle", null, null) ?? CUEStyle.SingleFileWithCUE;
|
||||
_audioFormat = (OutputAudioFormat?)sr.LoadInt32("OutputAudioFormat", null, null) ?? OutputAudioFormat.WAV;
|
||||
|
||||
if (_reducePriority)
|
||||
Process.GetCurrentProcess().PriorityClass = System.Diagnostics.ProcessPriorityClass.Idle;
|
||||
|
||||
if (_accurateOffset || !_accurateRip)
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace JDP {
|
||||
DialogResult dlgRes;
|
||||
|
||||
fileDlg.Title = "Input CUE Sheet or album image";
|
||||
fileDlg.Filter = "CUE Sheets (*.cue)|*.cue|FLAC images (*.flac)|*.flac|WavPack images (*.wv)|*.wv|APE images (*.ape)|*.ape";
|
||||
fileDlg.Filter = "CUE Sheets (*.cue)|*.cue|FLAC images (*.flac)|*.flac|WavPack images (*.wv)|*.wv|APE images (*.ape)|*.ape|RAR archives (*.rar)|*.rar";
|
||||
|
||||
try
|
||||
{
|
||||
@@ -117,12 +117,14 @@ namespace JDP {
|
||||
private void btnSettings_Click(object sender, EventArgs e) {
|
||||
using (frmSettings settingsForm = new frmSettings()) {
|
||||
settingsForm.WriteOffset = _writeOffset;
|
||||
settingsForm.ReducePriority = _reducePriority;
|
||||
settingsForm.Config = _config;
|
||||
|
||||
CenterSubForm(settingsForm);
|
||||
settingsForm.ShowDialog();
|
||||
|
||||
_writeOffset = settingsForm.WriteOffset;
|
||||
_reducePriority = settingsForm.ReducePriority;
|
||||
_config = settingsForm.Config;
|
||||
UpdateOutputPath();
|
||||
}
|
||||
@@ -190,7 +192,7 @@ namespace JDP {
|
||||
private void frmCUETools_Load(object sender, EventArgs e) {
|
||||
_batchPaths = new List<string>();
|
||||
LoadSettings();
|
||||
if (_config.processPriorityIdle)
|
||||
if (_reducePriority)
|
||||
Process.GetCurrentProcess().PriorityClass = System.Diagnostics.ProcessPriorityClass.Idle;
|
||||
SetupControls(false);
|
||||
UpdateOutputPath();
|
||||
@@ -208,6 +210,7 @@ namespace JDP {
|
||||
List<string> _batchPaths;
|
||||
bool _usePregapForFirstTrackInSingleFile;
|
||||
int _writeOffset;
|
||||
bool _reducePriority;
|
||||
Thread _workThread;
|
||||
CUESheet _workClass;
|
||||
CUEConfig _config;
|
||||
@@ -440,7 +443,10 @@ namespace JDP {
|
||||
}
|
||||
|
||||
private bool ShowErrorMessage(Exception ex) {
|
||||
DialogResult dlgRes = MessageBox.Show(ex.Message, "Error", (_batchPaths.Count == 0) ?
|
||||
string message = "Exception";
|
||||
for (Exception e = ex; e != null; e = e.InnerException)
|
||||
message += ": " + e.Message;
|
||||
DialogResult dlgRes = MessageBox.Show(this, message, "Error", (_batchPaths.Count == 0) ?
|
||||
MessageBoxButtons.OK : MessageBoxButtons.OKCancel, MessageBoxIcon.Error);
|
||||
return (dlgRes == DialogResult.OK);
|
||||
}
|
||||
@@ -487,89 +493,32 @@ namespace JDP {
|
||||
|
||||
private void LoadSettings() {
|
||||
SettingsReader sr = new SettingsReader("CUE Tools", "settings.txt");
|
||||
string val;
|
||||
|
||||
val = sr.Load("OutputPathGeneration");
|
||||
if (val != null) {
|
||||
try {
|
||||
SelectedOutputPathGeneration = (OutputPathGeneration)Int32.Parse(val);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
val = sr.Load("OutputSubdirectory");
|
||||
if (val != null) {
|
||||
txtCreateSubdirectory.Text = val;
|
||||
}
|
||||
|
||||
val = sr.Load("OutputFilenameSuffix");
|
||||
if (val != null) {
|
||||
txtAppendFilename.Text = val;
|
||||
}
|
||||
|
||||
val = sr.Load("OutputCustomFormat");
|
||||
if (val != null) {
|
||||
txtCustomFormat.Text = val;
|
||||
}
|
||||
|
||||
val = sr.Load("OutputAudioFormat");
|
||||
if (val != null) {
|
||||
try {
|
||||
SelectedOutputAudioFormat = (OutputAudioFormat)Int32.Parse(val);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
val = sr.Load("AccurateRipMode");
|
||||
if (val != null) {
|
||||
try {
|
||||
SelectedAccurateRipMode = (AccurateRipMode)Int32.Parse(val);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
val = sr.Load("CUEStyle");
|
||||
if (val != null) {
|
||||
try {
|
||||
SelectedCUEStyle = (CUEStyle)Int32.Parse(val);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
val = sr.Load("WriteOffset");
|
||||
if (val != null) {
|
||||
if (!Int32.TryParse(val, out _writeOffset)) _writeOffset = 0;
|
||||
}
|
||||
|
||||
val = sr.Load("UsePregapForFirstTrackInSingleFile");
|
||||
_usePregapForFirstTrackInSingleFile = (val != null) ? (val != "0") : false;
|
||||
|
||||
txtCreateSubdirectory.Text = sr.Load("OutputSubdirectory") ?? "New";
|
||||
txtAppendFilename.Text = sr.Load("OutputFilenameSuffix") ?? "-New";
|
||||
txtCustomFormat.Text = sr.Load("OutputCustomFormat") ?? "%1:-2\\New\\%-1\\%F.cue";
|
||||
SelectedOutputPathGeneration = (OutputPathGeneration?)sr.LoadInt32("OutputPathGeneration", null, null) ?? OutputPathGeneration.CreateSubdirectory;
|
||||
SelectedOutputAudioFormat = (OutputAudioFormat?)sr.LoadInt32("OutputAudioFormat", null, null) ?? OutputAudioFormat.WAV;
|
||||
SelectedAccurateRipMode = (AccurateRipMode?)sr.LoadInt32("AccurateRipMode", null, null) ?? AccurateRipMode.None;
|
||||
SelectedCUEStyle = (CUEStyle?)sr.LoadInt32("CUEStyle", null, null) ?? CUEStyle.SingleFileWithCUE;
|
||||
_writeOffset = sr.LoadInt32("WriteOffset", null, null) ?? 0;
|
||||
_usePregapForFirstTrackInSingleFile = sr.LoadBoolean("UsePregapForFirstTrackInSingleFile") ?? false;
|
||||
_reducePriority = sr.LoadBoolean("ReducePriority") ?? true;
|
||||
_config.Load(sr);
|
||||
}
|
||||
|
||||
private void SaveSettings() {
|
||||
SettingsWriter sw = new SettingsWriter("CUE Tools", "settings.txt");
|
||||
|
||||
sw.Save("OutputPathGeneration", ((int)SelectedOutputPathGeneration).ToString());
|
||||
|
||||
sw.Save("OutputPathGeneration", (int)SelectedOutputPathGeneration);
|
||||
sw.Save("OutputSubdirectory", txtCreateSubdirectory.Text);
|
||||
|
||||
sw.Save("OutputFilenameSuffix", txtAppendFilename.Text);
|
||||
|
||||
sw.Save("OutputCustomFormat", txtCustomFormat.Text);
|
||||
|
||||
sw.Save("OutputAudioFormat", ((int)SelectedOutputAudioFormat).ToString());
|
||||
|
||||
sw.Save("AccurateRipMode", ((int)SelectedAccurateRipMode).ToString());
|
||||
|
||||
sw.Save("CUEStyle", ((int)SelectedCUEStyle).ToString());
|
||||
|
||||
sw.Save("WriteOffset", _writeOffset.ToString());
|
||||
|
||||
sw.Save("UsePregapForFirstTrackInSingleFile", _usePregapForFirstTrackInSingleFile ? "1" : "0");
|
||||
|
||||
sw.Save("OutputAudioFormat", (int)SelectedOutputAudioFormat);
|
||||
sw.Save("AccurateRipMode", (int)SelectedAccurateRipMode);
|
||||
sw.Save("CUEStyle", (int)SelectedCUEStyle);
|
||||
sw.Save("WriteOffset", _writeOffset);
|
||||
sw.Save("UsePregapForFirstTrackInSingleFile", _usePregapForFirstTrackInSingleFile);
|
||||
sw.Save("ReducePriority", _reducePriority);
|
||||
_config.Save(sw);
|
||||
|
||||
sw.Close();
|
||||
}
|
||||
|
||||
|
||||
355
CUETools/frmSettings.Designer.cs
generated
355
CUETools/frmSettings.Designer.cs
generated
@@ -92,6 +92,7 @@ namespace JDP {
|
||||
this.tabPage4 = new System.Windows.Forms.TabPage();
|
||||
this.grpHDCD = new System.Windows.Forms.GroupBox();
|
||||
this.chkHDCDDetect = new System.Windows.Forms.CheckBox();
|
||||
this.chkReducePriority = new System.Windows.Forms.CheckBox();
|
||||
btnCancel = new System.Windows.Forms.Button();
|
||||
this.grpGeneral.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericWriteOffset)).BeginInit();
|
||||
@@ -117,22 +118,14 @@ namespace JDP {
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
btnCancel.AccessibleDescription = null;
|
||||
btnCancel.AccessibleName = null;
|
||||
resources.ApplyResources(btnCancel, "btnCancel");
|
||||
btnCancel.BackgroundImage = null;
|
||||
btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
btnCancel.Font = null;
|
||||
resources.ApplyResources(btnCancel, "btnCancel");
|
||||
btnCancel.Name = "btnCancel";
|
||||
this.toolTip1.SetToolTip(btnCancel, resources.GetString("btnCancel.ToolTip"));
|
||||
btnCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grpGeneral
|
||||
//
|
||||
this.grpGeneral.AccessibleDescription = null;
|
||||
this.grpGeneral.AccessibleName = null;
|
||||
resources.ApplyResources(this.grpGeneral, "grpGeneral");
|
||||
this.grpGeneral.BackgroundImage = null;
|
||||
this.grpGeneral.Controls.Add(this.chkReducePriority);
|
||||
this.grpGeneral.Controls.Add(this.chkTruncateExtra4206Samples);
|
||||
this.grpGeneral.Controls.Add(this.chkCreateCUEFileWhenEmbedded);
|
||||
this.grpGeneral.Controls.Add(this.chkCreateM3U);
|
||||
@@ -142,72 +135,45 @@ namespace JDP {
|
||||
this.grpGeneral.Controls.Add(this.chkAutoCorrectFilenames);
|
||||
this.grpGeneral.Controls.Add(this.chkPreserveHTOA);
|
||||
this.grpGeneral.Controls.Add(this.lblWriteOffset);
|
||||
this.grpGeneral.Font = null;
|
||||
resources.ApplyResources(this.grpGeneral, "grpGeneral");
|
||||
this.grpGeneral.Name = "grpGeneral";
|
||||
this.grpGeneral.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.grpGeneral, resources.GetString("grpGeneral.ToolTip"));
|
||||
//
|
||||
// chkTruncateExtra4206Samples
|
||||
//
|
||||
this.chkTruncateExtra4206Samples.AccessibleDescription = null;
|
||||
this.chkTruncateExtra4206Samples.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkTruncateExtra4206Samples, "chkTruncateExtra4206Samples");
|
||||
this.chkTruncateExtra4206Samples.BackgroundImage = null;
|
||||
this.chkTruncateExtra4206Samples.Font = null;
|
||||
this.chkTruncateExtra4206Samples.Name = "chkTruncateExtra4206Samples";
|
||||
this.toolTip1.SetToolTip(this.chkTruncateExtra4206Samples, resources.GetString("chkTruncateExtra4206Samples.ToolTip"));
|
||||
this.chkTruncateExtra4206Samples.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkCreateCUEFileWhenEmbedded
|
||||
//
|
||||
this.chkCreateCUEFileWhenEmbedded.AccessibleDescription = null;
|
||||
this.chkCreateCUEFileWhenEmbedded.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkCreateCUEFileWhenEmbedded, "chkCreateCUEFileWhenEmbedded");
|
||||
this.chkCreateCUEFileWhenEmbedded.BackgroundImage = null;
|
||||
this.chkCreateCUEFileWhenEmbedded.Font = null;
|
||||
this.chkCreateCUEFileWhenEmbedded.Name = "chkCreateCUEFileWhenEmbedded";
|
||||
this.toolTip1.SetToolTip(this.chkCreateCUEFileWhenEmbedded, resources.GetString("chkCreateCUEFileWhenEmbedded.ToolTip"));
|
||||
this.chkCreateCUEFileWhenEmbedded.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkCreateM3U
|
||||
//
|
||||
this.chkCreateM3U.AccessibleDescription = null;
|
||||
this.chkCreateM3U.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkCreateM3U, "chkCreateM3U");
|
||||
this.chkCreateM3U.BackgroundImage = null;
|
||||
this.chkCreateM3U.Font = null;
|
||||
this.chkCreateM3U.Name = "chkCreateM3U";
|
||||
this.toolTip1.SetToolTip(this.chkCreateM3U, resources.GetString("chkCreateM3U.ToolTip"));
|
||||
this.chkCreateM3U.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkFillUpCUE
|
||||
//
|
||||
this.chkFillUpCUE.AccessibleDescription = null;
|
||||
this.chkFillUpCUE.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkFillUpCUE, "chkFillUpCUE");
|
||||
this.chkFillUpCUE.BackgroundImage = null;
|
||||
this.chkFillUpCUE.Font = null;
|
||||
this.chkFillUpCUE.Name = "chkFillUpCUE";
|
||||
this.toolTip1.SetToolTip(this.chkFillUpCUE, resources.GetString("chkFillUpCUE.ToolTip"));
|
||||
this.chkFillUpCUE.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkEmbedLog
|
||||
//
|
||||
this.chkEmbedLog.AccessibleDescription = null;
|
||||
this.chkEmbedLog.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkEmbedLog, "chkEmbedLog");
|
||||
this.chkEmbedLog.BackgroundImage = null;
|
||||
this.chkEmbedLog.Font = null;
|
||||
this.chkEmbedLog.Name = "chkEmbedLog";
|
||||
this.toolTip1.SetToolTip(this.chkEmbedLog, resources.GetString("chkEmbedLog.ToolTip"));
|
||||
this.chkEmbedLog.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// numericWriteOffset
|
||||
//
|
||||
this.numericWriteOffset.AccessibleDescription = null;
|
||||
this.numericWriteOffset.AccessibleName = null;
|
||||
resources.ApplyResources(this.numericWriteOffset, "numericWriteOffset");
|
||||
this.numericWriteOffset.Font = null;
|
||||
this.numericWriteOffset.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
@@ -219,66 +185,43 @@ namespace JDP {
|
||||
0,
|
||||
-2147483648});
|
||||
this.numericWriteOffset.Name = "numericWriteOffset";
|
||||
this.toolTip1.SetToolTip(this.numericWriteOffset, resources.GetString("numericWriteOffset.ToolTip"));
|
||||
//
|
||||
// chkAutoCorrectFilenames
|
||||
//
|
||||
this.chkAutoCorrectFilenames.AccessibleDescription = null;
|
||||
this.chkAutoCorrectFilenames.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkAutoCorrectFilenames, "chkAutoCorrectFilenames");
|
||||
this.chkAutoCorrectFilenames.BackgroundImage = null;
|
||||
this.chkAutoCorrectFilenames.Font = null;
|
||||
this.chkAutoCorrectFilenames.Name = "chkAutoCorrectFilenames";
|
||||
this.toolTip1.SetToolTip(this.chkAutoCorrectFilenames, resources.GetString("chkAutoCorrectFilenames.ToolTip"));
|
||||
this.chkAutoCorrectFilenames.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkPreserveHTOA
|
||||
//
|
||||
this.chkPreserveHTOA.AccessibleDescription = null;
|
||||
this.chkPreserveHTOA.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkPreserveHTOA, "chkPreserveHTOA");
|
||||
this.chkPreserveHTOA.BackgroundImage = null;
|
||||
this.chkPreserveHTOA.Font = null;
|
||||
this.chkPreserveHTOA.Name = "chkPreserveHTOA";
|
||||
this.toolTip1.SetToolTip(this.chkPreserveHTOA, resources.GetString("chkPreserveHTOA.ToolTip"));
|
||||
this.chkPreserveHTOA.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblWriteOffset
|
||||
//
|
||||
this.lblWriteOffset.AccessibleDescription = null;
|
||||
this.lblWriteOffset.AccessibleName = null;
|
||||
resources.ApplyResources(this.lblWriteOffset, "lblWriteOffset");
|
||||
this.lblWriteOffset.Font = null;
|
||||
this.lblWriteOffset.Name = "lblWriteOffset";
|
||||
this.toolTip1.SetToolTip(this.lblWriteOffset, resources.GetString("lblWriteOffset.ToolTip"));
|
||||
//
|
||||
// grpFLAC
|
||||
//
|
||||
this.grpFLAC.AccessibleDescription = null;
|
||||
this.grpFLAC.AccessibleName = null;
|
||||
resources.ApplyResources(this.grpFLAC, "grpFLAC");
|
||||
this.grpFLAC.BackgroundImage = null;
|
||||
this.grpFLAC.Controls.Add(this.numericFLACCompressionLevel);
|
||||
this.grpFLAC.Controls.Add(this.lblFLACCompressionLevel);
|
||||
this.grpFLAC.Controls.Add(this.chkFLACVerify);
|
||||
this.grpFLAC.Font = null;
|
||||
resources.ApplyResources(this.grpFLAC, "grpFLAC");
|
||||
this.grpFLAC.Name = "grpFLAC";
|
||||
this.grpFLAC.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.grpFLAC, resources.GetString("grpFLAC.ToolTip"));
|
||||
//
|
||||
// numericFLACCompressionLevel
|
||||
//
|
||||
this.numericFLACCompressionLevel.AccessibleDescription = null;
|
||||
this.numericFLACCompressionLevel.AccessibleName = null;
|
||||
resources.ApplyResources(this.numericFLACCompressionLevel, "numericFLACCompressionLevel");
|
||||
this.numericFLACCompressionLevel.Font = null;
|
||||
this.numericFLACCompressionLevel.Maximum = new decimal(new int[] {
|
||||
8,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericFLACCompressionLevel.Name = "numericFLACCompressionLevel";
|
||||
this.toolTip1.SetToolTip(this.numericFLACCompressionLevel, resources.GetString("numericFLACCompressionLevel.ToolTip"));
|
||||
this.numericFLACCompressionLevel.Value = new decimal(new int[] {
|
||||
5,
|
||||
0,
|
||||
@@ -287,43 +230,25 @@ namespace JDP {
|
||||
//
|
||||
// lblFLACCompressionLevel
|
||||
//
|
||||
this.lblFLACCompressionLevel.AccessibleDescription = null;
|
||||
this.lblFLACCompressionLevel.AccessibleName = null;
|
||||
resources.ApplyResources(this.lblFLACCompressionLevel, "lblFLACCompressionLevel");
|
||||
this.lblFLACCompressionLevel.Font = null;
|
||||
this.lblFLACCompressionLevel.Name = "lblFLACCompressionLevel";
|
||||
this.toolTip1.SetToolTip(this.lblFLACCompressionLevel, resources.GetString("lblFLACCompressionLevel.ToolTip"));
|
||||
//
|
||||
// chkFLACVerify
|
||||
//
|
||||
this.chkFLACVerify.AccessibleDescription = null;
|
||||
this.chkFLACVerify.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkFLACVerify, "chkFLACVerify");
|
||||
this.chkFLACVerify.BackgroundImage = null;
|
||||
this.chkFLACVerify.Font = null;
|
||||
this.chkFLACVerify.Name = "chkFLACVerify";
|
||||
this.toolTip1.SetToolTip(this.chkFLACVerify, resources.GetString("chkFLACVerify.ToolTip"));
|
||||
this.chkFLACVerify.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.AccessibleDescription = null;
|
||||
this.btnOK.AccessibleName = null;
|
||||
resources.ApplyResources(this.btnOK, "btnOK");
|
||||
this.btnOK.BackgroundImage = null;
|
||||
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.btnOK.Font = null;
|
||||
resources.ApplyResources(this.btnOK, "btnOK");
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.toolTip1.SetToolTip(this.btnOK, resources.GetString("btnOK.ToolTip"));
|
||||
this.btnOK.UseVisualStyleBackColor = true;
|
||||
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||
//
|
||||
// grpWavPack
|
||||
//
|
||||
this.grpWavPack.AccessibleDescription = null;
|
||||
this.grpWavPack.AccessibleName = null;
|
||||
resources.ApplyResources(this.grpWavPack, "grpWavPack");
|
||||
this.grpWavPack.BackgroundImage = null;
|
||||
this.grpWavPack.Controls.Add(this.chkWVStoreMD5);
|
||||
this.grpWavPack.Controls.Add(this.numWVExtraMode);
|
||||
this.grpWavPack.Controls.Add(this.chkWVExtraMode);
|
||||
@@ -331,28 +256,19 @@ namespace JDP {
|
||||
this.grpWavPack.Controls.Add(this.rbWVHigh);
|
||||
this.grpWavPack.Controls.Add(this.rbWVNormal);
|
||||
this.grpWavPack.Controls.Add(this.rbWVFast);
|
||||
this.grpWavPack.Font = null;
|
||||
resources.ApplyResources(this.grpWavPack, "grpWavPack");
|
||||
this.grpWavPack.Name = "grpWavPack";
|
||||
this.grpWavPack.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.grpWavPack, resources.GetString("grpWavPack.ToolTip"));
|
||||
//
|
||||
// chkWVStoreMD5
|
||||
//
|
||||
this.chkWVStoreMD5.AccessibleDescription = null;
|
||||
this.chkWVStoreMD5.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkWVStoreMD5, "chkWVStoreMD5");
|
||||
this.chkWVStoreMD5.BackgroundImage = null;
|
||||
this.chkWVStoreMD5.Font = null;
|
||||
this.chkWVStoreMD5.Name = "chkWVStoreMD5";
|
||||
this.toolTip1.SetToolTip(this.chkWVStoreMD5, resources.GetString("chkWVStoreMD5.ToolTip"));
|
||||
this.chkWVStoreMD5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// numWVExtraMode
|
||||
//
|
||||
this.numWVExtraMode.AccessibleDescription = null;
|
||||
this.numWVExtraMode.AccessibleName = null;
|
||||
resources.ApplyResources(this.numWVExtraMode, "numWVExtraMode");
|
||||
this.numWVExtraMode.Font = null;
|
||||
this.numWVExtraMode.Maximum = new decimal(new int[] {
|
||||
6,
|
||||
0,
|
||||
@@ -364,7 +280,6 @@ namespace JDP {
|
||||
0,
|
||||
0});
|
||||
this.numWVExtraMode.Name = "numWVExtraMode";
|
||||
this.toolTip1.SetToolTip(this.numWVExtraMode, resources.GetString("numWVExtraMode.ToolTip"));
|
||||
this.numWVExtraMode.Value = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
@@ -373,68 +288,39 @@ namespace JDP {
|
||||
//
|
||||
// chkWVExtraMode
|
||||
//
|
||||
this.chkWVExtraMode.AccessibleDescription = null;
|
||||
this.chkWVExtraMode.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkWVExtraMode, "chkWVExtraMode");
|
||||
this.chkWVExtraMode.BackgroundImage = null;
|
||||
this.chkWVExtraMode.Font = null;
|
||||
this.chkWVExtraMode.Name = "chkWVExtraMode";
|
||||
this.toolTip1.SetToolTip(this.chkWVExtraMode, resources.GetString("chkWVExtraMode.ToolTip"));
|
||||
this.chkWVExtraMode.UseVisualStyleBackColor = true;
|
||||
this.chkWVExtraMode.CheckedChanged += new System.EventHandler(this.chkWVExtraMode_CheckedChanged);
|
||||
//
|
||||
// rbWVVeryHigh
|
||||
//
|
||||
this.rbWVVeryHigh.AccessibleDescription = null;
|
||||
this.rbWVVeryHigh.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbWVVeryHigh, "rbWVVeryHigh");
|
||||
this.rbWVVeryHigh.BackgroundImage = null;
|
||||
this.rbWVVeryHigh.Font = null;
|
||||
this.rbWVVeryHigh.Name = "rbWVVeryHigh";
|
||||
this.toolTip1.SetToolTip(this.rbWVVeryHigh, resources.GetString("rbWVVeryHigh.ToolTip"));
|
||||
this.rbWVVeryHigh.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbWVHigh
|
||||
//
|
||||
this.rbWVHigh.AccessibleDescription = null;
|
||||
this.rbWVHigh.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbWVHigh, "rbWVHigh");
|
||||
this.rbWVHigh.BackgroundImage = null;
|
||||
this.rbWVHigh.Font = null;
|
||||
this.rbWVHigh.Name = "rbWVHigh";
|
||||
this.toolTip1.SetToolTip(this.rbWVHigh, resources.GetString("rbWVHigh.ToolTip"));
|
||||
this.rbWVHigh.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbWVNormal
|
||||
//
|
||||
this.rbWVNormal.AccessibleDescription = null;
|
||||
this.rbWVNormal.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbWVNormal, "rbWVNormal");
|
||||
this.rbWVNormal.BackgroundImage = null;
|
||||
this.rbWVNormal.Checked = true;
|
||||
this.rbWVNormal.Font = null;
|
||||
this.rbWVNormal.Name = "rbWVNormal";
|
||||
this.rbWVNormal.TabStop = true;
|
||||
this.toolTip1.SetToolTip(this.rbWVNormal, resources.GetString("rbWVNormal.ToolTip"));
|
||||
this.rbWVNormal.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbWVFast
|
||||
//
|
||||
this.rbWVFast.AccessibleDescription = null;
|
||||
this.rbWVFast.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbWVFast, "rbWVFast");
|
||||
this.rbWVFast.BackgroundImage = null;
|
||||
this.rbWVFast.Font = null;
|
||||
this.rbWVFast.Name = "rbWVFast";
|
||||
this.toolTip1.SetToolTip(this.rbWVFast, resources.GetString("rbWVFast.ToolTip"));
|
||||
this.rbWVFast.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.AccessibleDescription = null;
|
||||
this.groupBox1.AccessibleName = null;
|
||||
resources.ApplyResources(this.groupBox1, "groupBox1");
|
||||
this.groupBox1.BackgroundImage = null;
|
||||
this.groupBox1.Controls.Add(this.chkEncodeWhenZeroOffset);
|
||||
this.groupBox1.Controls.Add(this.chkArFixOffset);
|
||||
this.groupBox1.Controls.Add(this.chkWriteArLogOnConvert);
|
||||
@@ -448,89 +334,61 @@ namespace JDP {
|
||||
this.groupBox1.Controls.Add(this.numFixWhenConfidence);
|
||||
this.groupBox1.Controls.Add(this.labelFixWhenPercent);
|
||||
this.groupBox1.Controls.Add(this.numFixWhenPercent);
|
||||
this.groupBox1.Font = null;
|
||||
resources.ApplyResources(this.groupBox1, "groupBox1");
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.groupBox1, resources.GetString("groupBox1.ToolTip"));
|
||||
//
|
||||
// chkEncodeWhenZeroOffset
|
||||
//
|
||||
this.chkEncodeWhenZeroOffset.AccessibleDescription = null;
|
||||
this.chkEncodeWhenZeroOffset.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkEncodeWhenZeroOffset, "chkEncodeWhenZeroOffset");
|
||||
this.chkEncodeWhenZeroOffset.BackgroundImage = null;
|
||||
this.chkEncodeWhenZeroOffset.Font = null;
|
||||
this.chkEncodeWhenZeroOffset.Name = "chkEncodeWhenZeroOffset";
|
||||
this.toolTip1.SetToolTip(this.chkEncodeWhenZeroOffset, resources.GetString("chkEncodeWhenZeroOffset.ToolTip"));
|
||||
this.chkEncodeWhenZeroOffset.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkArFixOffset
|
||||
//
|
||||
this.chkArFixOffset.AccessibleDescription = null;
|
||||
this.chkArFixOffset.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkArFixOffset, "chkArFixOffset");
|
||||
this.chkArFixOffset.BackgroundImage = null;
|
||||
this.chkArFixOffset.Checked = true;
|
||||
this.chkArFixOffset.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkArFixOffset.Font = null;
|
||||
this.chkArFixOffset.Name = "chkArFixOffset";
|
||||
this.toolTip1.SetToolTip(this.chkArFixOffset, resources.GetString("chkArFixOffset.ToolTip"));
|
||||
this.chkArFixOffset.UseVisualStyleBackColor = true;
|
||||
this.chkArFixOffset.CheckedChanged += new System.EventHandler(this.chkArFixOffset_CheckedChanged);
|
||||
//
|
||||
// chkWriteArLogOnConvert
|
||||
//
|
||||
this.chkWriteArLogOnConvert.AccessibleDescription = null;
|
||||
this.chkWriteArLogOnConvert.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkWriteArLogOnConvert, "chkWriteArLogOnConvert");
|
||||
this.chkWriteArLogOnConvert.BackgroundImage = null;
|
||||
this.chkWriteArLogOnConvert.Checked = true;
|
||||
this.chkWriteArLogOnConvert.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkWriteArLogOnConvert.Font = null;
|
||||
this.chkWriteArLogOnConvert.Name = "chkWriteArLogOnConvert";
|
||||
this.toolTip1.SetToolTip(this.chkWriteArLogOnConvert, resources.GetString("chkWriteArLogOnConvert.ToolTip"));
|
||||
this.chkWriteArLogOnConvert.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkWriteArTagsOnConvert
|
||||
//
|
||||
this.chkWriteArTagsOnConvert.AccessibleDescription = null;
|
||||
this.chkWriteArTagsOnConvert.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkWriteArTagsOnConvert, "chkWriteArTagsOnConvert");
|
||||
this.chkWriteArTagsOnConvert.BackgroundImage = null;
|
||||
this.chkWriteArTagsOnConvert.Checked = true;
|
||||
this.chkWriteArTagsOnConvert.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkWriteArTagsOnConvert.Font = null;
|
||||
this.chkWriteArTagsOnConvert.Name = "chkWriteArTagsOnConvert";
|
||||
this.toolTip1.SetToolTip(this.chkWriteArTagsOnConvert, resources.GetString("chkWriteArTagsOnConvert.ToolTip"));
|
||||
this.chkWriteArTagsOnConvert.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// labelEncodeWhenPercent
|
||||
//
|
||||
this.labelEncodeWhenPercent.AccessibleDescription = null;
|
||||
this.labelEncodeWhenPercent.AccessibleName = null;
|
||||
resources.ApplyResources(this.labelEncodeWhenPercent, "labelEncodeWhenPercent");
|
||||
this.labelEncodeWhenPercent.Font = null;
|
||||
this.labelEncodeWhenPercent.Name = "labelEncodeWhenPercent";
|
||||
this.toolTip1.SetToolTip(this.labelEncodeWhenPercent, resources.GetString("labelEncodeWhenPercent.ToolTip"));
|
||||
//
|
||||
// numEncodeWhenPercent
|
||||
//
|
||||
this.numEncodeWhenPercent.AccessibleDescription = null;
|
||||
this.numEncodeWhenPercent.AccessibleName = null;
|
||||
resources.ApplyResources(this.numEncodeWhenPercent, "numEncodeWhenPercent");
|
||||
this.numEncodeWhenPercent.Font = null;
|
||||
this.numEncodeWhenPercent.Increment = new decimal(new int[] {
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
resources.ApplyResources(this.numEncodeWhenPercent, "numEncodeWhenPercent");
|
||||
this.numEncodeWhenPercent.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numEncodeWhenPercent.Name = "numEncodeWhenPercent";
|
||||
this.toolTip1.SetToolTip(this.numEncodeWhenPercent, resources.GetString("numEncodeWhenPercent.ToolTip"));
|
||||
this.numEncodeWhenPercent.Value = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
@@ -539,26 +397,18 @@ namespace JDP {
|
||||
//
|
||||
// labelEncodeWhenConfidence
|
||||
//
|
||||
this.labelEncodeWhenConfidence.AccessibleDescription = null;
|
||||
this.labelEncodeWhenConfidence.AccessibleName = null;
|
||||
resources.ApplyResources(this.labelEncodeWhenConfidence, "labelEncodeWhenConfidence");
|
||||
this.labelEncodeWhenConfidence.Font = null;
|
||||
this.labelEncodeWhenConfidence.Name = "labelEncodeWhenConfidence";
|
||||
this.toolTip1.SetToolTip(this.labelEncodeWhenConfidence, resources.GetString("labelEncodeWhenConfidence.ToolTip"));
|
||||
//
|
||||
// numEncodeWhenConfidence
|
||||
//
|
||||
this.numEncodeWhenConfidence.AccessibleDescription = null;
|
||||
this.numEncodeWhenConfidence.AccessibleName = null;
|
||||
resources.ApplyResources(this.numEncodeWhenConfidence, "numEncodeWhenConfidence");
|
||||
this.numEncodeWhenConfidence.Font = null;
|
||||
this.numEncodeWhenConfidence.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numEncodeWhenConfidence.Name = "numEncodeWhenConfidence";
|
||||
this.toolTip1.SetToolTip(this.numEncodeWhenConfidence, resources.GetString("numEncodeWhenConfidence.ToolTip"));
|
||||
this.numEncodeWhenConfidence.Value = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
@@ -567,40 +417,27 @@ namespace JDP {
|
||||
//
|
||||
// chkArNoUnverifiedAudio
|
||||
//
|
||||
this.chkArNoUnverifiedAudio.AccessibleDescription = null;
|
||||
this.chkArNoUnverifiedAudio.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkArNoUnverifiedAudio, "chkArNoUnverifiedAudio");
|
||||
this.chkArNoUnverifiedAudio.BackgroundImage = null;
|
||||
this.chkArNoUnverifiedAudio.Checked = true;
|
||||
this.chkArNoUnverifiedAudio.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkArNoUnverifiedAudio.Font = null;
|
||||
this.chkArNoUnverifiedAudio.Name = "chkArNoUnverifiedAudio";
|
||||
this.toolTip1.SetToolTip(this.chkArNoUnverifiedAudio, resources.GetString("chkArNoUnverifiedAudio.ToolTip"));
|
||||
this.chkArNoUnverifiedAudio.UseVisualStyleBackColor = true;
|
||||
this.chkArNoUnverifiedAudio.CheckedChanged += new System.EventHandler(this.chkArNoUnverifiedAudio_CheckedChanged);
|
||||
//
|
||||
// labelFixWhenConfidence
|
||||
//
|
||||
this.labelFixWhenConfidence.AccessibleDescription = null;
|
||||
this.labelFixWhenConfidence.AccessibleName = null;
|
||||
resources.ApplyResources(this.labelFixWhenConfidence, "labelFixWhenConfidence");
|
||||
this.labelFixWhenConfidence.Font = null;
|
||||
this.labelFixWhenConfidence.Name = "labelFixWhenConfidence";
|
||||
this.toolTip1.SetToolTip(this.labelFixWhenConfidence, resources.GetString("labelFixWhenConfidence.ToolTip"));
|
||||
//
|
||||
// numFixWhenConfidence
|
||||
//
|
||||
this.numFixWhenConfidence.AccessibleDescription = null;
|
||||
this.numFixWhenConfidence.AccessibleName = null;
|
||||
resources.ApplyResources(this.numFixWhenConfidence, "numFixWhenConfidence");
|
||||
this.numFixWhenConfidence.Font = null;
|
||||
this.numFixWhenConfidence.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numFixWhenConfidence.Name = "numFixWhenConfidence";
|
||||
this.toolTip1.SetToolTip(this.numFixWhenConfidence, resources.GetString("numFixWhenConfidence.ToolTip"));
|
||||
this.numFixWhenConfidence.Value = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
@@ -609,31 +446,23 @@ namespace JDP {
|
||||
//
|
||||
// labelFixWhenPercent
|
||||
//
|
||||
this.labelFixWhenPercent.AccessibleDescription = null;
|
||||
this.labelFixWhenPercent.AccessibleName = null;
|
||||
resources.ApplyResources(this.labelFixWhenPercent, "labelFixWhenPercent");
|
||||
this.labelFixWhenPercent.Font = null;
|
||||
this.labelFixWhenPercent.Name = "labelFixWhenPercent";
|
||||
this.toolTip1.SetToolTip(this.labelFixWhenPercent, resources.GetString("labelFixWhenPercent.ToolTip"));
|
||||
//
|
||||
// numFixWhenPercent
|
||||
//
|
||||
this.numFixWhenPercent.AccessibleDescription = null;
|
||||
this.numFixWhenPercent.AccessibleName = null;
|
||||
resources.ApplyResources(this.numFixWhenPercent, "numFixWhenPercent");
|
||||
this.numFixWhenPercent.Font = null;
|
||||
this.numFixWhenPercent.Increment = new decimal(new int[] {
|
||||
5,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
resources.ApplyResources(this.numFixWhenPercent, "numFixWhenPercent");
|
||||
this.numFixWhenPercent.Minimum = new decimal(new int[] {
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numFixWhenPercent.Name = "numFixWhenPercent";
|
||||
this.toolTip1.SetToolTip(this.numFixWhenPercent, resources.GetString("numFixWhenPercent.ToolTip"));
|
||||
this.numFixWhenPercent.Value = new decimal(new int[] {
|
||||
51,
|
||||
0,
|
||||
@@ -648,56 +477,37 @@ namespace JDP {
|
||||
//
|
||||
// chkFilenamesANSISafe
|
||||
//
|
||||
this.chkFilenamesANSISafe.AccessibleDescription = null;
|
||||
this.chkFilenamesANSISafe.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkFilenamesANSISafe, "chkFilenamesANSISafe");
|
||||
this.chkFilenamesANSISafe.BackgroundImage = null;
|
||||
this.chkFilenamesANSISafe.Font = null;
|
||||
this.chkFilenamesANSISafe.Name = "chkFilenamesANSISafe";
|
||||
this.toolTip1.SetToolTip(this.chkFilenamesANSISafe, resources.GetString("chkFilenamesANSISafe.ToolTip"));
|
||||
this.chkFilenamesANSISafe.UseVisualStyleBackColor = true;
|
||||
this.chkFilenamesANSISafe.CheckedChanged += new System.EventHandler(this.chkFilenamesANSISafe_CheckedChanged);
|
||||
//
|
||||
// chkWriteARTagsOnVerify
|
||||
//
|
||||
this.chkWriteARTagsOnVerify.AccessibleDescription = null;
|
||||
this.chkWriteARTagsOnVerify.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkWriteARTagsOnVerify, "chkWriteARTagsOnVerify");
|
||||
this.chkWriteARTagsOnVerify.BackgroundImage = null;
|
||||
this.chkWriteARTagsOnVerify.Checked = true;
|
||||
this.chkWriteARTagsOnVerify.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkWriteARTagsOnVerify.Font = null;
|
||||
this.chkWriteARTagsOnVerify.Name = "chkWriteARTagsOnVerify";
|
||||
this.toolTip1.SetToolTip(this.chkWriteARTagsOnVerify, resources.GetString("chkWriteARTagsOnVerify.ToolTip"));
|
||||
this.chkWriteARTagsOnVerify.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkHDCDDecode
|
||||
//
|
||||
this.chkHDCDDecode.AccessibleDescription = null;
|
||||
this.chkHDCDDecode.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkHDCDDecode, "chkHDCDDecode");
|
||||
this.chkHDCDDecode.BackgroundImage = null;
|
||||
this.chkHDCDDecode.Font = null;
|
||||
this.chkHDCDDecode.Name = "chkHDCDDecode";
|
||||
this.toolTip1.SetToolTip(this.chkHDCDDecode, resources.GetString("chkHDCDDecode.ToolTip"));
|
||||
this.chkHDCDDecode.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkHDCDStopLooking
|
||||
//
|
||||
this.chkHDCDStopLooking.AccessibleDescription = null;
|
||||
this.chkHDCDStopLooking.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkHDCDStopLooking, "chkHDCDStopLooking");
|
||||
this.chkHDCDStopLooking.BackgroundImage = null;
|
||||
this.chkHDCDStopLooking.Font = null;
|
||||
this.chkHDCDStopLooking.Name = "chkHDCDStopLooking";
|
||||
this.toolTip1.SetToolTip(this.chkHDCDStopLooking, resources.GetString("chkHDCDStopLooking.ToolTip"));
|
||||
this.chkHDCDStopLooking.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// grpAudioFilenames
|
||||
//
|
||||
this.grpAudioFilenames.AccessibleDescription = null;
|
||||
this.grpAudioFilenames.AccessibleName = null;
|
||||
resources.ApplyResources(this.grpAudioFilenames, "grpAudioFilenames");
|
||||
this.grpAudioFilenames.BackgroundImage = null;
|
||||
this.grpAudioFilenames.Controls.Add(this.chkFilenamesANSISafe);
|
||||
this.grpAudioFilenames.Controls.Add(this.chkKeepOriginalFilenames);
|
||||
this.grpAudioFilenames.Controls.Add(this.txtSpecialExceptions);
|
||||
@@ -707,316 +517,204 @@ namespace JDP {
|
||||
this.grpAudioFilenames.Controls.Add(this.lblTrackFilenameFormat);
|
||||
this.grpAudioFilenames.Controls.Add(this.lblSingleFilenameFormat);
|
||||
this.grpAudioFilenames.Controls.Add(this.txtSingleFilenameFormat);
|
||||
this.grpAudioFilenames.Font = null;
|
||||
resources.ApplyResources(this.grpAudioFilenames, "grpAudioFilenames");
|
||||
this.grpAudioFilenames.Name = "grpAudioFilenames";
|
||||
this.grpAudioFilenames.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.grpAudioFilenames, resources.GetString("grpAudioFilenames.ToolTip"));
|
||||
//
|
||||
// chkKeepOriginalFilenames
|
||||
//
|
||||
this.chkKeepOriginalFilenames.AccessibleDescription = null;
|
||||
this.chkKeepOriginalFilenames.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkKeepOriginalFilenames, "chkKeepOriginalFilenames");
|
||||
this.chkKeepOriginalFilenames.BackgroundImage = null;
|
||||
this.chkKeepOriginalFilenames.Checked = true;
|
||||
this.chkKeepOriginalFilenames.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkKeepOriginalFilenames.Font = null;
|
||||
this.chkKeepOriginalFilenames.Name = "chkKeepOriginalFilenames";
|
||||
this.toolTip1.SetToolTip(this.chkKeepOriginalFilenames, resources.GetString("chkKeepOriginalFilenames.ToolTip"));
|
||||
this.chkKeepOriginalFilenames.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtSpecialExceptions
|
||||
//
|
||||
this.txtSpecialExceptions.AccessibleDescription = null;
|
||||
this.txtSpecialExceptions.AccessibleName = null;
|
||||
resources.ApplyResources(this.txtSpecialExceptions, "txtSpecialExceptions");
|
||||
this.txtSpecialExceptions.BackgroundImage = null;
|
||||
this.txtSpecialExceptions.Font = null;
|
||||
this.txtSpecialExceptions.Name = "txtSpecialExceptions";
|
||||
this.toolTip1.SetToolTip(this.txtSpecialExceptions, resources.GetString("txtSpecialExceptions.ToolTip"));
|
||||
//
|
||||
// chkRemoveSpecial
|
||||
//
|
||||
this.chkRemoveSpecial.AccessibleDescription = null;
|
||||
this.chkRemoveSpecial.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkRemoveSpecial, "chkRemoveSpecial");
|
||||
this.chkRemoveSpecial.BackgroundImage = null;
|
||||
this.chkRemoveSpecial.Checked = true;
|
||||
this.chkRemoveSpecial.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkRemoveSpecial.Font = null;
|
||||
this.chkRemoveSpecial.Name = "chkRemoveSpecial";
|
||||
this.toolTip1.SetToolTip(this.chkRemoveSpecial, resources.GetString("chkRemoveSpecial.ToolTip"));
|
||||
this.chkRemoveSpecial.UseVisualStyleBackColor = true;
|
||||
this.chkRemoveSpecial.CheckedChanged += new System.EventHandler(this.chkRemoveSpecial_CheckedChanged);
|
||||
//
|
||||
// chkReplaceSpaces
|
||||
//
|
||||
this.chkReplaceSpaces.AccessibleDescription = null;
|
||||
this.chkReplaceSpaces.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkReplaceSpaces, "chkReplaceSpaces");
|
||||
this.chkReplaceSpaces.BackgroundImage = null;
|
||||
this.chkReplaceSpaces.Checked = true;
|
||||
this.chkReplaceSpaces.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkReplaceSpaces.Font = null;
|
||||
this.chkReplaceSpaces.Name = "chkReplaceSpaces";
|
||||
this.toolTip1.SetToolTip(this.chkReplaceSpaces, resources.GetString("chkReplaceSpaces.ToolTip"));
|
||||
this.chkReplaceSpaces.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtTrackFilenameFormat
|
||||
//
|
||||
this.txtTrackFilenameFormat.AccessibleDescription = null;
|
||||
this.txtTrackFilenameFormat.AccessibleName = null;
|
||||
resources.ApplyResources(this.txtTrackFilenameFormat, "txtTrackFilenameFormat");
|
||||
this.txtTrackFilenameFormat.BackgroundImage = null;
|
||||
this.txtTrackFilenameFormat.Font = null;
|
||||
this.txtTrackFilenameFormat.Name = "txtTrackFilenameFormat";
|
||||
this.toolTip1.SetToolTip(this.txtTrackFilenameFormat, resources.GetString("txtTrackFilenameFormat.ToolTip"));
|
||||
//
|
||||
// lblTrackFilenameFormat
|
||||
//
|
||||
this.lblTrackFilenameFormat.AccessibleDescription = null;
|
||||
this.lblTrackFilenameFormat.AccessibleName = null;
|
||||
resources.ApplyResources(this.lblTrackFilenameFormat, "lblTrackFilenameFormat");
|
||||
this.lblTrackFilenameFormat.Font = null;
|
||||
this.lblTrackFilenameFormat.Name = "lblTrackFilenameFormat";
|
||||
this.toolTip1.SetToolTip(this.lblTrackFilenameFormat, resources.GetString("lblTrackFilenameFormat.ToolTip"));
|
||||
//
|
||||
// lblSingleFilenameFormat
|
||||
//
|
||||
this.lblSingleFilenameFormat.AccessibleDescription = null;
|
||||
this.lblSingleFilenameFormat.AccessibleName = null;
|
||||
resources.ApplyResources(this.lblSingleFilenameFormat, "lblSingleFilenameFormat");
|
||||
this.lblSingleFilenameFormat.Font = null;
|
||||
this.lblSingleFilenameFormat.Name = "lblSingleFilenameFormat";
|
||||
this.toolTip1.SetToolTip(this.lblSingleFilenameFormat, resources.GetString("lblSingleFilenameFormat.ToolTip"));
|
||||
//
|
||||
// txtSingleFilenameFormat
|
||||
//
|
||||
this.txtSingleFilenameFormat.AccessibleDescription = null;
|
||||
this.txtSingleFilenameFormat.AccessibleName = null;
|
||||
resources.ApplyResources(this.txtSingleFilenameFormat, "txtSingleFilenameFormat");
|
||||
this.txtSingleFilenameFormat.BackgroundImage = null;
|
||||
this.txtSingleFilenameFormat.Font = null;
|
||||
this.txtSingleFilenameFormat.Name = "txtSingleFilenameFormat";
|
||||
this.toolTip1.SetToolTip(this.txtSingleFilenameFormat, resources.GetString("txtSingleFilenameFormat.ToolTip"));
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.AccessibleDescription = null;
|
||||
this.groupBox2.AccessibleName = null;
|
||||
resources.ApplyResources(this.groupBox2, "groupBox2");
|
||||
this.groupBox2.BackgroundImage = null;
|
||||
this.groupBox2.Controls.Add(this.rbAPEinsane);
|
||||
this.groupBox2.Controls.Add(this.rbAPEextrahigh);
|
||||
this.groupBox2.Controls.Add(this.rbAPEhigh);
|
||||
this.groupBox2.Controls.Add(this.rbAPEnormal);
|
||||
this.groupBox2.Controls.Add(this.rbAPEfast);
|
||||
this.groupBox2.Font = null;
|
||||
resources.ApplyResources(this.groupBox2, "groupBox2");
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.groupBox2, resources.GetString("groupBox2.ToolTip"));
|
||||
//
|
||||
// rbAPEinsane
|
||||
//
|
||||
this.rbAPEinsane.AccessibleDescription = null;
|
||||
this.rbAPEinsane.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbAPEinsane, "rbAPEinsane");
|
||||
this.rbAPEinsane.BackgroundImage = null;
|
||||
this.rbAPEinsane.Font = null;
|
||||
this.rbAPEinsane.Name = "rbAPEinsane";
|
||||
this.rbAPEinsane.TabStop = true;
|
||||
this.toolTip1.SetToolTip(this.rbAPEinsane, resources.GetString("rbAPEinsane.ToolTip"));
|
||||
this.rbAPEinsane.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbAPEextrahigh
|
||||
//
|
||||
this.rbAPEextrahigh.AccessibleDescription = null;
|
||||
this.rbAPEextrahigh.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbAPEextrahigh, "rbAPEextrahigh");
|
||||
this.rbAPEextrahigh.BackgroundImage = null;
|
||||
this.rbAPEextrahigh.Font = null;
|
||||
this.rbAPEextrahigh.Name = "rbAPEextrahigh";
|
||||
this.rbAPEextrahigh.TabStop = true;
|
||||
this.toolTip1.SetToolTip(this.rbAPEextrahigh, resources.GetString("rbAPEextrahigh.ToolTip"));
|
||||
this.rbAPEextrahigh.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbAPEhigh
|
||||
//
|
||||
this.rbAPEhigh.AccessibleDescription = null;
|
||||
this.rbAPEhigh.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbAPEhigh, "rbAPEhigh");
|
||||
this.rbAPEhigh.BackgroundImage = null;
|
||||
this.rbAPEhigh.Font = null;
|
||||
this.rbAPEhigh.Name = "rbAPEhigh";
|
||||
this.rbAPEhigh.TabStop = true;
|
||||
this.toolTip1.SetToolTip(this.rbAPEhigh, resources.GetString("rbAPEhigh.ToolTip"));
|
||||
this.rbAPEhigh.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbAPEnormal
|
||||
//
|
||||
this.rbAPEnormal.AccessibleDescription = null;
|
||||
this.rbAPEnormal.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbAPEnormal, "rbAPEnormal");
|
||||
this.rbAPEnormal.BackgroundImage = null;
|
||||
this.rbAPEnormal.Font = null;
|
||||
this.rbAPEnormal.Name = "rbAPEnormal";
|
||||
this.rbAPEnormal.TabStop = true;
|
||||
this.toolTip1.SetToolTip(this.rbAPEnormal, resources.GetString("rbAPEnormal.ToolTip"));
|
||||
this.rbAPEnormal.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbAPEfast
|
||||
//
|
||||
this.rbAPEfast.AccessibleDescription = null;
|
||||
this.rbAPEfast.AccessibleName = null;
|
||||
resources.ApplyResources(this.rbAPEfast, "rbAPEfast");
|
||||
this.rbAPEfast.BackgroundImage = null;
|
||||
this.rbAPEfast.Font = null;
|
||||
this.rbAPEfast.Name = "rbAPEfast";
|
||||
this.rbAPEfast.TabStop = true;
|
||||
this.toolTip1.SetToolTip(this.rbAPEfast, resources.GetString("rbAPEfast.ToolTip"));
|
||||
this.rbAPEfast.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.AccessibleDescription = null;
|
||||
this.tabControl1.AccessibleName = null;
|
||||
resources.ApplyResources(this.tabControl1, "tabControl1");
|
||||
this.tabControl1.BackgroundImage = null;
|
||||
this.tabControl1.Controls.Add(this.tabPage1);
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
this.tabControl1.Controls.Add(this.tabPage3);
|
||||
this.tabControl1.Controls.Add(this.tabPage4);
|
||||
this.tabControl1.Font = null;
|
||||
this.tabControl1.HotTrack = true;
|
||||
this.tabControl1.Multiline = true;
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
this.toolTip1.SetToolTip(this.tabControl1, resources.GetString("tabControl1.ToolTip"));
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.AccessibleDescription = null;
|
||||
this.tabPage1.AccessibleName = null;
|
||||
resources.ApplyResources(this.tabPage1, "tabPage1");
|
||||
this.tabPage1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tabPage1.BackgroundImage = null;
|
||||
this.tabPage1.Controls.Add(this.grpGeneral);
|
||||
this.tabPage1.Controls.Add(this.grpAudioFilenames);
|
||||
this.tabPage1.Font = null;
|
||||
resources.ApplyResources(this.tabPage1, "tabPage1");
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.toolTip1.SetToolTip(this.tabPage1, resources.GetString("tabPage1.ToolTip"));
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.AccessibleDescription = null;
|
||||
this.tabPage2.AccessibleName = null;
|
||||
resources.ApplyResources(this.tabPage2, "tabPage2");
|
||||
this.tabPage2.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.tabPage2.BackgroundImage = null;
|
||||
this.tabPage2.Controls.Add(this.groupBox3);
|
||||
this.tabPage2.Controls.Add(this.groupBox1);
|
||||
this.tabPage2.Font = null;
|
||||
resources.ApplyResources(this.tabPage2, "tabPage2");
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.toolTip1.SetToolTip(this.tabPage2, resources.GetString("tabPage2.ToolTip"));
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.AccessibleDescription = null;
|
||||
this.groupBox3.AccessibleName = null;
|
||||
resources.ApplyResources(this.groupBox3, "groupBox3");
|
||||
this.groupBox3.BackgroundImage = null;
|
||||
this.groupBox3.Controls.Add(this.chkWriteARLogOnVerify);
|
||||
this.groupBox3.Controls.Add(this.chkWriteARTagsOnVerify);
|
||||
this.groupBox3.Font = null;
|
||||
resources.ApplyResources(this.groupBox3, "groupBox3");
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.groupBox3, resources.GetString("groupBox3.ToolTip"));
|
||||
//
|
||||
// chkWriteARLogOnVerify
|
||||
//
|
||||
this.chkWriteARLogOnVerify.AccessibleDescription = null;
|
||||
this.chkWriteARLogOnVerify.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkWriteARLogOnVerify, "chkWriteARLogOnVerify");
|
||||
this.chkWriteARLogOnVerify.BackgroundImage = null;
|
||||
this.chkWriteARLogOnVerify.Checked = true;
|
||||
this.chkWriteARLogOnVerify.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkWriteARLogOnVerify.Font = null;
|
||||
this.chkWriteARLogOnVerify.Name = "chkWriteARLogOnVerify";
|
||||
this.toolTip1.SetToolTip(this.chkWriteARLogOnVerify, resources.GetString("chkWriteARLogOnVerify.ToolTip"));
|
||||
this.chkWriteARLogOnVerify.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tabPage3
|
||||
//
|
||||
this.tabPage3.AccessibleDescription = null;
|
||||
this.tabPage3.AccessibleName = null;
|
||||
resources.ApplyResources(this.tabPage3, "tabPage3");
|
||||
this.tabPage3.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.tabPage3.BackgroundImage = null;
|
||||
this.tabPage3.Controls.Add(this.grpWavPack);
|
||||
this.tabPage3.Controls.Add(this.groupBox2);
|
||||
this.tabPage3.Controls.Add(this.grpFLAC);
|
||||
this.tabPage3.Font = null;
|
||||
resources.ApplyResources(this.tabPage3, "tabPage3");
|
||||
this.tabPage3.Name = "tabPage3";
|
||||
this.toolTip1.SetToolTip(this.tabPage3, resources.GetString("tabPage3.ToolTip"));
|
||||
//
|
||||
// tabPage4
|
||||
//
|
||||
this.tabPage4.AccessibleDescription = null;
|
||||
this.tabPage4.AccessibleName = null;
|
||||
resources.ApplyResources(this.tabPage4, "tabPage4");
|
||||
this.tabPage4.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.tabPage4.BackgroundImage = null;
|
||||
this.tabPage4.Controls.Add(this.grpHDCD);
|
||||
this.tabPage4.Controls.Add(this.chkHDCDDetect);
|
||||
this.tabPage4.Font = null;
|
||||
resources.ApplyResources(this.tabPage4, "tabPage4");
|
||||
this.tabPage4.Name = "tabPage4";
|
||||
this.toolTip1.SetToolTip(this.tabPage4, resources.GetString("tabPage4.ToolTip"));
|
||||
//
|
||||
// grpHDCD
|
||||
//
|
||||
this.grpHDCD.AccessibleDescription = null;
|
||||
this.grpHDCD.AccessibleName = null;
|
||||
resources.ApplyResources(this.grpHDCD, "grpHDCD");
|
||||
this.grpHDCD.BackgroundImage = null;
|
||||
this.grpHDCD.Controls.Add(this.chkHDCDStopLooking);
|
||||
this.grpHDCD.Controls.Add(this.chkHDCDDecode);
|
||||
this.grpHDCD.Font = null;
|
||||
resources.ApplyResources(this.grpHDCD, "grpHDCD");
|
||||
this.grpHDCD.Name = "grpHDCD";
|
||||
this.grpHDCD.TabStop = false;
|
||||
this.toolTip1.SetToolTip(this.grpHDCD, resources.GetString("grpHDCD.ToolTip"));
|
||||
//
|
||||
// chkHDCDDetect
|
||||
//
|
||||
this.chkHDCDDetect.AccessibleDescription = null;
|
||||
this.chkHDCDDetect.AccessibleName = null;
|
||||
resources.ApplyResources(this.chkHDCDDetect, "chkHDCDDetect");
|
||||
this.chkHDCDDetect.BackgroundImage = null;
|
||||
this.chkHDCDDetect.Font = null;
|
||||
this.chkHDCDDetect.Name = "chkHDCDDetect";
|
||||
this.toolTip1.SetToolTip(this.chkHDCDDetect, resources.GetString("chkHDCDDetect.ToolTip"));
|
||||
this.chkHDCDDetect.UseVisualStyleBackColor = true;
|
||||
this.chkHDCDDetect.CheckedChanged += new System.EventHandler(this.chkHDCDDetect_CheckedChanged);
|
||||
//
|
||||
// chkReducePriority
|
||||
//
|
||||
resources.ApplyResources(this.chkReducePriority, "chkReducePriority");
|
||||
this.chkReducePriority.Name = "chkReducePriority";
|
||||
this.chkReducePriority.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// frmSettings
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.AccessibleDescription = null;
|
||||
this.AccessibleName = null;
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackgroundImage = null;
|
||||
this.CancelButton = btnCancel;
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.Controls.Add(btnCancel);
|
||||
this.Controls.Add(this.btnOK);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = null;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "frmSettings";
|
||||
this.ShowIcon = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.toolTip1.SetToolTip(this, resources.GetString("$this.ToolTip"));
|
||||
this.Load += new System.EventHandler(this.frmSettings_Load);
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmSettings_FormClosing);
|
||||
this.grpGeneral.ResumeLayout(false);
|
||||
@@ -1120,6 +818,7 @@ namespace JDP {
|
||||
private System.Windows.Forms.CheckBox chkCreateM3U;
|
||||
private System.Windows.Forms.CheckBox chkCreateCUEFileWhenEmbedded;
|
||||
private System.Windows.Forms.CheckBox chkTruncateExtra4206Samples;
|
||||
private System.Windows.Forms.CheckBox chkReducePriority;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ using CUEToolsLib;
|
||||
namespace JDP {
|
||||
public partial class frmSettings : Form {
|
||||
int _writeOffset;
|
||||
bool _reducePriority;
|
||||
CUEConfig _config;
|
||||
|
||||
public frmSettings() {
|
||||
@@ -16,6 +17,7 @@ namespace JDP {
|
||||
}
|
||||
|
||||
private void frmSettings_Load(object sender, EventArgs e) {
|
||||
chkReducePriority.Checked = _reducePriority;
|
||||
numericWriteOffset.Value = _writeOffset;
|
||||
chkPreserveHTOA.Checked = _config.preserveHTOA;
|
||||
chkAutoCorrectFilenames.Checked = _config.autoCorrectFilenames;
|
||||
@@ -73,6 +75,12 @@ namespace JDP {
|
||||
set { _writeOffset = value; }
|
||||
}
|
||||
|
||||
public bool ReducePriority
|
||||
{
|
||||
get { return _reducePriority; }
|
||||
set { _reducePriority = value; }
|
||||
}
|
||||
|
||||
public CUEConfig Config {
|
||||
get { return _config; }
|
||||
set { _config = value; }
|
||||
@@ -85,6 +93,7 @@ namespace JDP {
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
_writeOffset = (int)numericWriteOffset.Value;
|
||||
_reducePriority = chkReducePriority.Checked;
|
||||
_config.preserveHTOA = chkPreserveHTOA.Checked;
|
||||
_config.autoCorrectFilenames = chkAutoCorrectFilenames.Checked;
|
||||
_config.flacCompressionLevel = (uint)numericFLACCompressionLevel.Value;
|
||||
@@ -150,5 +159,16 @@ namespace JDP {
|
||||
{
|
||||
grpHDCD.Enabled = chkHDCDDetect.Checked;
|
||||
}
|
||||
|
||||
private void chkFilenamesANSISafe_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
chkRemoveSpecial.Enabled = chkFilenamesANSISafe.Checked;
|
||||
txtSpecialExceptions.Enabled = chkRemoveSpecial.Checked && chkFilenamesANSISafe.Checked;
|
||||
}
|
||||
|
||||
private void chkRemoveSpecial_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
txtSpecialExceptions.Enabled = chkRemoveSpecial.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -120,8 +120,8 @@
|
||||
<data name="btnCancel.Text" xml:space="preserve">
|
||||
<value>Отмена</value>
|
||||
</data>
|
||||
<data name="grpGeneral.Text" xml:space="preserve">
|
||||
<value>Общие</value>
|
||||
<data name="btnCancel.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="chkTruncateExtra4206Samples.Size" type="System.Drawing.Size, System.Drawing">
|
||||
@@ -136,18 +136,27 @@
|
||||
<data name="chkCreateCUEFileWhenEmbedded.Text" xml:space="preserve">
|
||||
<value>Создавать .cue даже при встраивании</value>
|
||||
</data>
|
||||
<data name="chkCreateCUEFileWhenEmbedded.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkCreateM3U.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>166, 17</value>
|
||||
</data>
|
||||
<data name="chkCreateM3U.Text" xml:space="preserve">
|
||||
<value>Создавать плейлисты .m3u</value>
|
||||
</data>
|
||||
<data name="chkCreateM3U.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkFillUpCUE.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>221, 17</value>
|
||||
</data>
|
||||
<data name="chkFillUpCUE.Text" xml:space="preserve">
|
||||
<value>Пополнить .cue информацией из тэгов</value>
|
||||
</data>
|
||||
<data name="chkFillUpCUE.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkEmbedLog.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>156, 17</value>
|
||||
</data>
|
||||
@@ -157,6 +166,9 @@
|
||||
<data name="chkEmbedLog.ToolTip" xml:space="preserve">
|
||||
<value>Работает, если .log лежит в той же папке и имеет то же имя, что и исходный файл</value>
|
||||
</data>
|
||||
<data name="numericWriteOffset.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkAutoCorrectFilenames.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>213, 17</value>
|
||||
</data>
|
||||
@@ -172,15 +184,30 @@
|
||||
<data name="chkPreserveHTOA.Text" xml:space="preserve">
|
||||
<value>Сохранять HTOA при разбивке на треки</value>
|
||||
</data>
|
||||
<data name="chkPreserveHTOA.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="lblWriteOffset.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>114, 13</value>
|
||||
</data>
|
||||
<data name="lblWriteOffset.Text" xml:space="preserve">
|
||||
<value>Смещение (сэмплов):</value>
|
||||
</data>
|
||||
<data name="lblWriteOffset.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="grpGeneral.Text" xml:space="preserve">
|
||||
<value>Общие</value>
|
||||
</data>
|
||||
<data name="grpGeneral.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="numericFLACCompressionLevel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>147, 88</value>
|
||||
</data>
|
||||
<data name="numericFLACCompressionLevel.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="lblFLACCompressionLevel.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>11, 90</value>
|
||||
</data>
|
||||
@@ -190,50 +217,83 @@
|
||||
<data name="lblFLACCompressionLevel.Text" xml:space="preserve">
|
||||
<value>Уровень сжатия:</value>
|
||||
</data>
|
||||
<data name="lblFLACCompressionLevel.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkFLACVerify.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>94, 17</value>
|
||||
</data>
|
||||
<data name="chkFLACVerify.Text" xml:space="preserve">
|
||||
<value>Верификация</value>
|
||||
</data>
|
||||
<data name="chkFLACVerify.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="grpFLAC.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="btnOK.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkWVStoreMD5.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>119, 17</value>
|
||||
</data>
|
||||
<data name="chkWVStoreMD5.Text" xml:space="preserve">
|
||||
<value>MD5-хеширование</value>
|
||||
</data>
|
||||
<data name="chkWVStoreMD5.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="numWVExtraMode.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkWVExtraMode.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>89, 17</value>
|
||||
</data>
|
||||
<data name="chkWVExtraMode.Text" xml:space="preserve">
|
||||
<value>Доп. режим:</value>
|
||||
</data>
|
||||
<data name="chkWVExtraMode.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbWVVeryHigh.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>103, 17</value>
|
||||
</data>
|
||||
<data name="rbWVVeryHigh.Text" xml:space="preserve">
|
||||
<value>Очень высокий</value>
|
||||
</data>
|
||||
<data name="rbWVVeryHigh.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbWVHigh.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>68, 17</value>
|
||||
</data>
|
||||
<data name="rbWVHigh.Text" xml:space="preserve">
|
||||
<value>Высокий</value>
|
||||
</data>
|
||||
<data name="rbWVHigh.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbWVNormal.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>69, 17</value>
|
||||
</data>
|
||||
<data name="rbWVNormal.Text" xml:space="preserve">
|
||||
<value>Средний</value>
|
||||
</data>
|
||||
<data name="rbWVNormal.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbWVFast.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>70, 17</value>
|
||||
</data>
|
||||
<data name="rbWVFast.Text" xml:space="preserve">
|
||||
<value>Быстрый</value>
|
||||
</data>
|
||||
<data name="groupBox1.Text" xml:space="preserve">
|
||||
<value>Проверить и записать</value>
|
||||
<data name="rbWVFast.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="grpWavPack.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkEncodeWhenZeroOffset.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>150, 77</value>
|
||||
@@ -244,6 +304,9 @@
|
||||
<data name="chkEncodeWhenZeroOffset.Text" xml:space="preserve">
|
||||
<value>и нулевым смещением</value>
|
||||
</data>
|
||||
<data name="chkEncodeWhenZeroOffset.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkArFixOffset.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 100</value>
|
||||
</data>
|
||||
@@ -253,6 +316,9 @@
|
||||
<data name="chkArFixOffset.Text" xml:space="preserve">
|
||||
<value>Исправлять смещение если</value>
|
||||
</data>
|
||||
<data name="chkArFixOffset.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkWriteArLogOnConvert.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 181</value>
|
||||
</data>
|
||||
@@ -262,6 +328,9 @@
|
||||
<data name="chkWriteArLogOnConvert.Text" xml:space="preserve">
|
||||
<value>Записывать отчет AccurateRip</value>
|
||||
</data>
|
||||
<data name="chkWriteArLogOnConvert.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkWriteArTagsOnConvert.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>6, 164</value>
|
||||
</data>
|
||||
@@ -283,9 +352,15 @@
|
||||
<data name="labelEncodeWhenPercent.Text" xml:space="preserve">
|
||||
<value>% проверенных треков >=</value>
|
||||
</data>
|
||||
<data name="labelEncodeWhenPercent.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="numEncodeWhenPercent.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>250, 35</value>
|
||||
</data>
|
||||
<data name="numEncodeWhenPercent.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="labelEncodeWhenConfidence.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>125, 58</value>
|
||||
</data>
|
||||
@@ -295,15 +370,24 @@
|
||||
<data name="labelEncodeWhenConfidence.Text" xml:space="preserve">
|
||||
<value>с достоверностью >=</value>
|
||||
</data>
|
||||
<data name="labelEncodeWhenConfidence.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="numEncodeWhenConfidence.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>250, 56</value>
|
||||
</data>
|
||||
<data name="numEncodeWhenConfidence.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkArNoUnverifiedAudio.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>176, 17</value>
|
||||
</data>
|
||||
<data name="chkArNoUnverifiedAudio.Text" xml:space="preserve">
|
||||
<value>Конвертировать только если</value>
|
||||
</data>
|
||||
<data name="chkArNoUnverifiedAudio.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="labelFixWhenConfidence.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Right</value>
|
||||
@@ -321,9 +405,15 @@
|
||||
<data name="labelFixWhenConfidence.Text" xml:space="preserve">
|
||||
<value>с достоверностью >=</value>
|
||||
</data>
|
||||
<data name="labelFixWhenConfidence.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="numFixWhenConfidence.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>251, 137</value>
|
||||
</data>
|
||||
<data name="numFixWhenConfidence.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="labelFixWhenPercent.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Right</value>
|
||||
</data>
|
||||
@@ -339,9 +429,21 @@
|
||||
<data name="labelFixWhenPercent.Text" xml:space="preserve">
|
||||
<value>% проверенных треков >=</value>
|
||||
</data>
|
||||
<data name="labelFixWhenPercent.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="numFixWhenPercent.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>250, 116</value>
|
||||
</data>
|
||||
<data name="numFixWhenPercent.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="groupBox1.Text" xml:space="preserve">
|
||||
<value>Проверить и записать</value>
|
||||
</data>
|
||||
<data name="groupBox1.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkFilenamesANSISafe.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>207, 17</value>
|
||||
</data>
|
||||
@@ -381,27 +483,39 @@
|
||||
<data name="chkHDCDStopLooking.ToolTip" xml:space="preserve">
|
||||
<value>Прекращать поиск HDCD-кодировки, если её не обнаружено в первых 10 секундах аудио данных.</value>
|
||||
</data>
|
||||
<data name="grpAudioFilenames.Text" xml:space="preserve">
|
||||
<value>Имена аудиофайлов</value>
|
||||
</data>
|
||||
<data name="chkKeepOriginalFilenames.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>157, 17</value>
|
||||
</data>
|
||||
<data name="chkKeepOriginalFilenames.Text" xml:space="preserve">
|
||||
<value>Сохранять оригинальные</value>
|
||||
</data>
|
||||
<data name="chkKeepOriginalFilenames.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="txtSpecialExceptions.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkRemoveSpecial.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>223, 17</value>
|
||||
</data>
|
||||
<data name="chkRemoveSpecial.Text" xml:space="preserve">
|
||||
<value>Удалять специальные символы кроме:</value>
|
||||
</data>
|
||||
<data name="chkRemoveSpecial.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkReplaceSpaces.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>209, 17</value>
|
||||
</data>
|
||||
<data name="chkReplaceSpaces.Text" xml:space="preserve">
|
||||
<value>Заменять пробелы подчеркиванями</value>
|
||||
</data>
|
||||
<data name="chkReplaceSpaces.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="txtTrackFilenameFormat.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="lblTrackFilenameFormat.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>10, 75</value>
|
||||
</data>
|
||||
@@ -411,14 +525,47 @@
|
||||
<data name="lblTrackFilenameFormat.Text" xml:space="preserve">
|
||||
<value>Трек:</value>
|
||||
</data>
|
||||
<data name="lblTrackFilenameFormat.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="lblSingleFilenameFormat.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 13</value>
|
||||
</data>
|
||||
<data name="lblSingleFilenameFormat.Text" xml:space="preserve">
|
||||
<value>Образ диска:</value>
|
||||
</data>
|
||||
<data name="groupBox3.Text" xml:space="preserve">
|
||||
<value>При проверке</value>
|
||||
<data name="lblSingleFilenameFormat.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="txtSingleFilenameFormat.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="grpAudioFilenames.Text" xml:space="preserve">
|
||||
<value>Имена аудиофайлов</value>
|
||||
</data>
|
||||
<data name="grpAudioFilenames.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbAPEinsane.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbAPEextrahigh.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbAPEhigh.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbAPEnormal.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="rbAPEfast.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="groupBox2.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="tabPage1.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkWriteARLogOnVerify.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>5, 181</value>
|
||||
@@ -429,19 +576,49 @@
|
||||
<data name="chkWriteARLogOnVerify.Text" xml:space="preserve">
|
||||
<value>Записывать отчет AccurateRip</value>
|
||||
</data>
|
||||
<data name="chkWriteARLogOnVerify.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="groupBox3.Text" xml:space="preserve">
|
||||
<value>При проверке</value>
|
||||
</data>
|
||||
<data name="groupBox3.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="tabPage2.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="tabPage3.Text" xml:space="preserve">
|
||||
<value>Форматы</value>
|
||||
</data>
|
||||
<data name="tabPage3.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="grpHDCD.Text" xml:space="preserve">
|
||||
<value>Параметры</value>
|
||||
</data>
|
||||
<data name="grpHDCD.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="chkHDCDDetect.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>120, 17</value>
|
||||
</data>
|
||||
<data name="chkHDCDDetect.Text" xml:space="preserve">
|
||||
<value>Определять HDCD</value>
|
||||
</data>
|
||||
<data name="chkHDCDDetect.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="tabPage4.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="tabControl1.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>Продвинутые настройки</value>
|
||||
</data>
|
||||
<data name="$this.ToolTip" xml:space="preserve">
|
||||
<value />
|
||||
</data>
|
||||
</root>
|
||||
@@ -241,7 +241,6 @@ namespace CUEToolsLib
|
||||
public bool createTOC;
|
||||
public bool createCUEFileWhenEmbedded;
|
||||
public bool truncate4608ExtraSamples;
|
||||
public bool processPriorityIdle;
|
||||
|
||||
public CUEConfig()
|
||||
{
|
||||
@@ -282,7 +281,6 @@ namespace CUEToolsLib
|
||||
createTOC = false;
|
||||
createCUEFileWhenEmbedded = false;
|
||||
truncate4608ExtraSamples = true;
|
||||
processPriorityIdle = true;
|
||||
}
|
||||
|
||||
public void Save (SettingsWriter sw)
|
||||
@@ -324,7 +322,6 @@ namespace CUEToolsLib
|
||||
sw.Save("CreateTOC", createTOC);
|
||||
sw.Save("CreateCUEFileWhenEmbedded", createCUEFileWhenEmbedded);
|
||||
sw.Save("Truncate4608ExtraSamples", truncate4608ExtraSamples);
|
||||
sw.Save("ProcessPriorityIdle", processPriorityIdle);
|
||||
}
|
||||
|
||||
public void Load(SettingsReader sr)
|
||||
@@ -366,7 +363,6 @@ namespace CUEToolsLib
|
||||
createTOC = sr.LoadBoolean("CreateTOC") ?? false;
|
||||
createCUEFileWhenEmbedded = sr.LoadBoolean("CreateCUEFileWhenEmbedded") ?? false;
|
||||
truncate4608ExtraSamples = sr.LoadBoolean("Truncate4608ExtraSamples") ?? true;
|
||||
processPriorityIdle = sr.LoadBoolean("ProcessPriorityIdle") ?? true;
|
||||
}
|
||||
|
||||
public string CleanseString (string s)
|
||||
@@ -380,16 +376,16 @@ namespace CUEToolsLib
|
||||
for (int i = 0; i < s.Length; i++)
|
||||
{
|
||||
char ch = s[i];
|
||||
if (removeSpecial && specialExceptions.IndexOf(ch) < 0 && !(
|
||||
if (filenamesANSISafe && removeSpecial && specialExceptions.IndexOf(ch) < 0 && !(
|
||||
((ch >= 'a') && (ch <= 'z')) ||
|
||||
((ch >= 'A') && (ch <= 'Z')) ||
|
||||
((ch >= '0') && (ch <= '9')) ||
|
||||
(ch == ' ') || (ch == '_')))
|
||||
ch = '_';
|
||||
if (Array.IndexOf(invalid, ch) >= 0)
|
||||
if ((Array.IndexOf(invalid, ch) >= 0) || (replaceSpaces && ch == ' '))
|
||||
sb.Append("_");
|
||||
else
|
||||
sb.Append (ch);
|
||||
sb.Append(ch);
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
@@ -904,7 +900,9 @@ namespace CUEToolsLib
|
||||
#if !MONO
|
||||
private void unrar_ExtractionProgress(object sender, ExtractionProgressEventArgs e)
|
||||
{
|
||||
_progress.percentTrack = (uint) Math.Round(e.PercentComplete);
|
||||
if (this.CUEToolsProgress == null)
|
||||
return;
|
||||
_progress.percentTrack = (uint)Math.Round(e.PercentComplete);
|
||||
this.CUEToolsProgress(this, _progress);
|
||||
}
|
||||
|
||||
@@ -1010,6 +1008,9 @@ namespace CUEToolsLib
|
||||
replace.Add(null);
|
||||
replace.Add(Path.GetFileNameWithoutExtension(outputPath));
|
||||
|
||||
if (_config.detectHDCD && hdcdDecoder != null && _config.decodeHDCD)
|
||||
extension = ".24bit" + extension;
|
||||
|
||||
if (_config.keepOriginalFilenames && HasSingleFilename)
|
||||
{
|
||||
SingleFilename = Path.ChangeExtension(SingleFilename, extension);
|
||||
@@ -1018,15 +1019,8 @@ namespace CUEToolsLib
|
||||
{
|
||||
filename = General.ReplaceMultiple(_config.singleFilenameFormat, find, replace);
|
||||
if (filename == null)
|
||||
{
|
||||
filename = "Range";
|
||||
}
|
||||
if (_config.replaceSpaces)
|
||||
{
|
||||
filename = filename.Replace(' ', '_');
|
||||
}
|
||||
filename += extension;
|
||||
|
||||
SingleFilename = filename;
|
||||
}
|
||||
|
||||
@@ -1055,13 +1049,7 @@ namespace CUEToolsLib
|
||||
|
||||
filename = General.ReplaceMultiple(_config.trackFilenameFormat, find, replace);
|
||||
if (filename == null)
|
||||
{
|
||||
filename = replace[2];
|
||||
}
|
||||
if (_config.replaceSpaces)
|
||||
{
|
||||
filename = filename.Replace(' ', '_');
|
||||
}
|
||||
filename += extension;
|
||||
|
||||
if (htoa)
|
||||
@@ -2125,11 +2113,11 @@ namespace CUEToolsLib
|
||||
TrackInfo track;
|
||||
IAudioSource audioSource = null;
|
||||
IAudioDest audioDest = null;
|
||||
IAudioDest decodedAudioDest = null;
|
||||
bool discardOutput;
|
||||
int iSource = -1;
|
||||
int iDest = -1;
|
||||
uint samplesRemSource = 0;
|
||||
int bitsPerSample = (_config.detectHDCD && hdcdDecoder != null && _config.decodeHDCD && !noOutput) ? 24 : 16;
|
||||
|
||||
if (_writeOffset != 0)
|
||||
{
|
||||
@@ -2183,15 +2171,9 @@ namespace CUEToolsLib
|
||||
if (style == CUEStyle.SingleFile || style == CUEStyle.SingleFileWithCUE)
|
||||
{
|
||||
iDest++;
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, 16);
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, bitsPerSample);
|
||||
if (!noOutput)
|
||||
SetAlbumTags(audioDest, bestOffset, style == CUEStyle.SingleFileWithCUE);
|
||||
if (_config.detectHDCD && hdcdDecoder != null && _config.decodeHDCD && !noOutput)
|
||||
{
|
||||
decodedAudioDest = GetAudioDest(Path.ChangeExtension(destPaths[iDest], ".24bit" + Path.GetExtension(destPaths[iDest])),
|
||||
destLengths[iDest], noOutput, 24);
|
||||
SetAlbumTags(decodedAudioDest, bestOffset, style == CUEStyle.SingleFileWithCUE);
|
||||
}
|
||||
}
|
||||
|
||||
if (_accurateRip && noOutput)
|
||||
@@ -2217,20 +2199,14 @@ namespace CUEToolsLib
|
||||
track = _tracks[iTrack];
|
||||
|
||||
if ((style == CUEStyle.GapsPrepended) || (style == CUEStyle.GapsLeftOut)) {
|
||||
if (audioDest != null) audioDest.Close();
|
||||
iDest++;
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, 16);
|
||||
if (hdcdDecoder != null)
|
||||
hdcdDecoder.AudioDest = null;
|
||||
if (audioDest != null)
|
||||
audioDest.Close();
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, bitsPerSample);
|
||||
if (!noOutput)
|
||||
SetTrackTags(audioDest, iTrack, bestOffset);
|
||||
if (_config.detectHDCD && hdcdDecoder != null && _config.decodeHDCD && !noOutput)
|
||||
{
|
||||
hdcdDecoder.AudioDest = null;
|
||||
if (decodedAudioDest != null)
|
||||
decodedAudioDest.Close();
|
||||
decodedAudioDest = GetAudioDest(Path.ChangeExtension(destPaths[iDest], ".24bit" + Path.GetExtension(destPaths[iDest])),
|
||||
destLengths[iDest], noOutput, 24);
|
||||
SetTrackTags(decodedAudioDest, iTrack, bestOffset);
|
||||
}
|
||||
}
|
||||
|
||||
for (iIndex = 0; iIndex <= track.LastIndex; iIndex++) {
|
||||
@@ -2248,33 +2224,23 @@ namespace CUEToolsLib
|
||||
trackLength += _tracks[iTrack + 1].IndexLengths[0] * 588;
|
||||
}
|
||||
|
||||
if ((style == CUEStyle.GapsAppended) && (iIndex == 1)) {
|
||||
if (audioDest != null) audioDest.Close();
|
||||
if ((style == CUEStyle.GapsAppended) && (iIndex == 1))
|
||||
{
|
||||
if (hdcdDecoder != null)
|
||||
hdcdDecoder.AudioDest = null;
|
||||
if (audioDest != null)
|
||||
audioDest.Close();
|
||||
iDest++;
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, 16);
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, bitsPerSample);
|
||||
if (!noOutput)
|
||||
SetTrackTags(audioDest, iTrack, bestOffset);
|
||||
if (_config.detectHDCD && hdcdDecoder != null && _config.decodeHDCD && !noOutput)
|
||||
{
|
||||
hdcdDecoder.AudioDest = null;
|
||||
if (decodedAudioDest != null)
|
||||
decodedAudioDest.Close();
|
||||
decodedAudioDest = GetAudioDest(Path.ChangeExtension(destPaths[iDest], ".24bit" + Path.GetExtension(destPaths[iDest])),
|
||||
destLengths[iDest], noOutput, 24);
|
||||
SetTrackTags(decodedAudioDest, iTrack, bestOffset);
|
||||
}
|
||||
}
|
||||
|
||||
if ((style == CUEStyle.GapsAppended) && (iIndex == 0) && (iTrack == 0)) {
|
||||
discardOutput = !htoaToFile;
|
||||
if (htoaToFile) {
|
||||
iDest++;
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, 16);
|
||||
if (_config.detectHDCD && hdcdDecoder != null && _config.decodeHDCD && !noOutput)
|
||||
{
|
||||
decodedAudioDest = GetAudioDest(Path.ChangeExtension(destPaths[iDest], ".24bit" + Path.GetExtension(destPaths[iDest])),
|
||||
destLengths[iDest], noOutput, 24);
|
||||
}
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput, bitsPerSample);
|
||||
}
|
||||
}
|
||||
else if ((style == CUEStyle.GapsLeftOut) && (iIndex == 0)) {
|
||||
@@ -2304,20 +2270,30 @@ namespace CUEToolsLib
|
||||
lastTrackPercent = trackPercent;
|
||||
}
|
||||
|
||||
audioSource.Read(sampleBuffer, copyCount);
|
||||
if (!discardOutput) audioDest.Write(sampleBuffer, copyCount);
|
||||
if (_config.detectHDCD && hdcdDecoder != null)
|
||||
audioSource.Read(sampleBuffer, copyCount);
|
||||
if (!discardOutput)
|
||||
{
|
||||
if (_config.wait750FramesForHDCD && diskOffset > 750 * 588 && !hdcdDecoder.Detected)
|
||||
if (!_config.detectHDCD || !_config.decodeHDCD || hdcdDecoder == null)
|
||||
audioDest.Write(sampleBuffer, copyCount);
|
||||
if (_config.detectHDCD && hdcdDecoder != null)
|
||||
{
|
||||
hdcdDecoder.AudioDest = null;
|
||||
hdcdDecoder = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_config.decodeHDCD)
|
||||
hdcdDecoder.AudioDest = (discardOutput || noOutput) ? null : decodedAudioDest;
|
||||
hdcdDecoder.Process(sampleBuffer, copyCount);
|
||||
if (_config.wait750FramesForHDCD && diskOffset > 750 * 588 && !hdcdDecoder.Detected)
|
||||
{
|
||||
hdcdDecoder.AudioDest = null;
|
||||
hdcdDecoder = null;
|
||||
if (_config.decodeHDCD)
|
||||
{
|
||||
audioSource.Close();
|
||||
audioDest.Delete();
|
||||
throw new Exception("HDCD not detected.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_config.decodeHDCD)
|
||||
hdcdDecoder.AudioDest = (discardOutput || noOutput) ? null : audioDest;
|
||||
hdcdDecoder.Process(sampleBuffer, copyCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (_accurateRip && noOutput && (iTrack != 0 || iIndex != 0))
|
||||
@@ -2353,12 +2329,6 @@ namespace CUEToolsLib
|
||||
try {
|
||||
if (audioDest != null) audioDest.Close();
|
||||
} catch { }
|
||||
// need two separate try/catches,
|
||||
// because Close always throws an exception, and
|
||||
// we want both streams closed.
|
||||
try {
|
||||
if (decodedAudioDest != null) decodedAudioDest.Close();
|
||||
} catch { }
|
||||
throw new StopException();
|
||||
}
|
||||
if (_pause)
|
||||
@@ -2373,10 +2343,10 @@ namespace CUEToolsLib
|
||||
|
||||
if (hdcdDecoder != null)
|
||||
hdcdDecoder.AudioDest = null;
|
||||
if (audioSource != null) audioSource.Close();
|
||||
audioDest.Close();
|
||||
if (decodedAudioDest != null)
|
||||
decodedAudioDest.Close();
|
||||
if (audioSource != null)
|
||||
audioSource.Close();
|
||||
if (audioDest != null)
|
||||
audioDest.Close();
|
||||
}
|
||||
|
||||
public static string CreateDummyCUESheet(string path, string extension)
|
||||
|
||||
@@ -496,6 +496,12 @@ namespace FLACDotNet {
|
||||
_tags->Clear ();
|
||||
}
|
||||
|
||||
virtual void Delete()
|
||||
{
|
||||
try { Close (); } catch (Exception^) {}
|
||||
File::Delete(_path);
|
||||
}
|
||||
|
||||
virtual property Int64 FinalSampleCount {
|
||||
Int64 get() {
|
||||
return _finalSampleCount;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -231,7 +231,9 @@ namespace UnRarDotNet
|
||||
_unrar.DataAvailable += new DataAvailableHandler(unrar_DataAvailable);
|
||||
_unrar.PasswordRequired += PasswordRequired;
|
||||
_unrar.ExtractionProgress += ExtractionProgress;
|
||||
#if !DEBUG
|
||||
try
|
||||
#endif
|
||||
{
|
||||
do
|
||||
{
|
||||
@@ -278,10 +280,12 @@ namespace UnRarDotNet
|
||||
}
|
||||
} while (true);
|
||||
}
|
||||
#if !DEBUG
|
||||
catch (Exception ex)
|
||||
{
|
||||
_ex = ex;
|
||||
}
|
||||
#endif
|
||||
lock (this)
|
||||
{
|
||||
_close = true;
|
||||
|
||||
@@ -363,6 +363,12 @@ namespace WavPackDotNet {
|
||||
}
|
||||
}
|
||||
|
||||
virtual void Delete()
|
||||
{
|
||||
try { Close (); } catch (Exception^) {}
|
||||
File::Delete(_path);
|
||||
}
|
||||
|
||||
virtual property Int64 FinalSampleCount
|
||||
{
|
||||
Int64 get()
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user