* ALAC decoding length mismatches fixed

* Problem with single-track albums fixed
* Added an option to disable assembler optimizations in flac
This commit is contained in:
chudov
2009-03-04 21:30:56 +00:00
parent 5deeb6ad57
commit c91f19e2a9
26 changed files with 2276 additions and 2259 deletions

View File

@@ -25,7 +25,7 @@ namespace CUETools.Processor
return new ALACReader(path, IO);
#if !MONO
case ".flac":
return new FLACReader(path, IO);
return new FLACReader(path, IO, config.disableAsm);
case ".wv":
return new WavPackReader(path, IO, null);
case ".ape":
@@ -74,6 +74,7 @@ namespace CUETools.Processor
dest = new FLACWriter(path, bitsPerSample, channelCount, sampleRate);
((FLACWriter)dest).CompressionLevel = (int)config.flacCompressionLevel;
((FLACWriter)dest).Verify = config.flacVerify;
((FLACWriter)dest).DisableAsm = config.disableAsm;
break;
case ".wv":
dest = new WavPackWriter(path, bitsPerSample, channelCount, sampleRate);