minor fixes

This commit is contained in:
chudov
2010-03-03 23:52:46 +00:00
parent 749f96ed8a
commit b36069871c
14 changed files with 227 additions and 23 deletions

View File

@@ -191,7 +191,7 @@ namespace CUETools.FlaCudaExe
return 2;
}
if (buffered)
audioSource = new AudioPipe(audioSource, FlaCudaWriter.MAX_BLOCKSIZE);
audioSource = new AudioPipe(audioSource, FlaCudaWriter.MAX_BLOCKSIZE, true);
if (output_file == null)
output_file = Path.ChangeExtension(input_file, "flac");
FlaCudaWriter encoder = new FlaCudaWriter((output_file == "-" || output_file == "nul") ? "" : output_file,