diff --git a/Application/FileConverter/ConversionJobs/ConversionJob.cs b/Application/FileConverter/ConversionJobs/ConversionJob.cs
index d011965..222ff65 100644
--- a/Application/FileConverter/ConversionJobs/ConversionJob.cs
+++ b/Application/FileConverter/ConversionJobs/ConversionJob.cs
@@ -86,20 +86,6 @@ namespace FileConverter.ConversionJobs
}
}
- protected int CurrentOuputFilePathIndex
- {
- get
- {
- return this.currentOuputFilePathIndex;
- }
-
- set
- {
- this.currentOuputFilePathIndex = value;
- this.NotifyPropertyChanged(nameof(this.OutputFilePath));
- }
- }
-
public ConversionState State
{
get
@@ -187,6 +173,20 @@ namespace FileConverter.ConversionJobs
private set;
}
+ protected int CurrentOuputFilePathIndex
+ {
+ get
+ {
+ return this.currentOuputFilePathIndex;
+ }
+
+ set
+ {
+ this.currentOuputFilePathIndex = value;
+ this.NotifyPropertyChanged(nameof(this.OutputFilePath));
+ }
+ }
+
protected virtual InputPostConversionAction InputPostConversionAction
{
get
diff --git a/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs b/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs
index 53e242d..7f81172 100644
--- a/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs
+++ b/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs
@@ -13,7 +13,7 @@ namespace FileConverter.ConversionJobs
public class ConversionJob_ExtractCDA : ConversionJob
{
- private Ripper.CDDrive cdDrive;
+ private Ripper.CDDrive diskDrive;
private int cdaTrackNumber = -1;
private WaveWriter waveWriter;
private string intermediateFilePath;
@@ -55,8 +55,8 @@ namespace FileConverter.ConversionJobs
char driveLetter = pathDriveLetter[0];
- this.cdDrive = new Ripper.CDDrive();
- this.cdDrive.CDRemoved += new EventHandler(this.CdDriveCdRemoved);
+ this.diskDrive = new Ripper.CDDrive();
+ this.diskDrive.CDRemoved += new EventHandler(this.CdDriveCdRemoved);
bool driveLetterFound = false;
char[] driveLetters = Ripper.CDDrive.GetCDDriveLetters();
@@ -82,13 +82,13 @@ namespace FileConverter.ConversionJobs
return;
}
- if (this.cdDrive.IsOpened)
+ if (this.diskDrive.IsOpened)
{
this.ConversionFailed(string.Format("CD drive already used."));
return;
}
- if (!this.cdDrive.Open(driveLetter))
+ if (!this.diskDrive.Open(driveLetter))
{
this.ConversionFailed(string.Format("Fail to open cd drive {0}.", driveLetter));
return;
@@ -116,19 +116,19 @@ namespace FileConverter.ConversionJobs
this.UserState = Properties.Resources.ConversionStateExtraction;
- if (!this.cdDrive.IsCDReady())
+ if (!this.diskDrive.IsCDReady())
{
this.ConversionFailed(string.Format("CD drive is not ready."));
return;
}
- if (!this.cdDrive.Refresh())
+ if (!this.diskDrive.Refresh())
{
this.ConversionFailed(string.Format("Can't refresh CD drive data."));
return;
}
- if (!this.cdDrive.LockCD())
+ if (!this.diskDrive.LockCD())
{
this.ConversionFailed(string.Format("Can't lock cd."));
return;
@@ -137,16 +137,16 @@ namespace FileConverter.ConversionJobs
WaveFormat waveFormat = new WaveFormat(44100, 16, 2);
using (Stream waveStream = new FileStream(this.intermediateFilePath, FileMode.Create, FileAccess.Write))
- using (this.waveWriter = new WaveWriter(waveStream, waveFormat, this.cdDrive.TrackSize(this.cdaTrackNumber)))
+ using (this.waveWriter = new WaveWriter(waveStream, waveFormat, this.diskDrive.TrackSize(this.cdaTrackNumber)))
{
- this.cdDrive.ReadTrack(this.cdaTrackNumber, this.WriteWaveData, this.CdReadProgress);
+ this.diskDrive.ReadTrack(this.cdaTrackNumber, this.WriteWaveData, this.CdReadProgress);
}
this.waveWriter = null;
- this.cdDrive.UnLockCD();
+ this.diskDrive.UnLockCD();
- this.cdDrive.Close();
+ this.diskDrive.Close();
this.StateFlags = ConversionFlags.None;
diff --git a/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.Converters.cs b/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.Converters.cs
index a798d9b..a2190c9 100644
--- a/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.Converters.cs
+++ b/Application/FileConverter/ConversionJobs/ConversionJob_FFMPEG.Converters.cs
@@ -179,7 +179,7 @@ namespace FileConverter.ConversionJobs
}
///
- /// Convert video quality index to libtheora video quality level.
+ /// Convert video quality index to lib theora video quality level.
///
/// The quality index.
/// Returns the video quality index.
diff --git a/Application/FileConverter/Windows/SettingsWindow.xaml b/Application/FileConverter/Windows/SettingsWindow.xaml
index 2ba8c43..3a989e7 100644
--- a/Application/FileConverter/Windows/SettingsWindow.xaml
+++ b/Application/FileConverter/Windows/SettingsWindow.xaml
@@ -730,7 +730,8 @@
-
+