This commit is contained in:
chudov
2008-12-09 07:25:48 +00:00
parent b5180b8e61
commit e3f461e43c
16 changed files with 1870 additions and 580 deletions

View File

@@ -133,7 +133,7 @@ namespace JDP
cueName = Path.GetFileNameWithoutExtension(pathIn) + ".cue";
bool outputAudio = _accurateRip != AccurateRipMode.Verify;
cueSheet.Open(pathIn, _lossyWAV);
cueSheet.Open(pathIn);
if (outputAudio)
{
bool pathFound = false;
@@ -153,7 +153,7 @@ namespace JDP
}
else
pathOut = Path.Combine(Path.GetDirectoryName(pathIn) ?? pathIn, cueName);
cueSheet.GenerateFilenames(_audioFormat, pathOut);
cueSheet.GenerateFilenames(_audioFormat, _lossyWAV, pathOut);
if (outputAudio)
{
if (_cueStyle == CUEStyle.SingleFileWithCUE)

View File

@@ -304,7 +304,7 @@ namespace JDP {
bool outputCUE = cueStyle != CUEStyle.SingleFileWithCUE && accurateRip != AccurateRipMode.Verify;
string pathOut = null;
cueSheet.Open(pathIn, lossyWAV);
cueSheet.Open(pathIn);
this.Invoke((MethodInvoker)delegate()
{
@@ -312,7 +312,7 @@ namespace JDP {
pathOut = txtOutputPath.Text;
});
cueSheet.GenerateFilenames(outputFormat, pathOut);
cueSheet.GenerateFilenames(outputFormat, lossyWAV, pathOut);
string outDir = Path.GetDirectoryName(pathOut);
if (cueStyle == CUEStyle.SingleFileWithCUE)
cueSheet.SingleFilename = Path.GetFileName(pathOut);