CUETools flac and alac encoders write 'CUETools 2.1.5' in "tool" metadata

instad of "Flake#0.1" etc
This commit is contained in:
Grigory Chudov
2013-04-28 14:33:48 -04:00
parent 642cc3fff6
commit 8dd7cfe136
5 changed files with 40 additions and 13 deletions

View File

@@ -78,10 +78,11 @@ namespace CUETools.TestCodecs
{
AudioBuffer buff = WAVReader.ReadAllSamples("test.wav", null);
ALACWriter target;
ALACWriter.Vendor = "CUETools";
target = new ALACWriter("alacwriter1.m4a", null, new ALACWriterSettings() { PCM = buff.PCM });
target.Settings.Padding = 1;
target.Vendor = "CUETools";
target.CreationTime = DateTime.Parse("15 Aug 1976");
target.FinalSampleCount = buff.Length;
target.Write(buff);
@@ -90,7 +91,6 @@ namespace CUETools.TestCodecs
target = new ALACWriter("alacwriter0.m4a", null, new ALACWriterSettings() { PCM = buff.PCM });
target.Settings.Padding = 1;
target.Vendor = "CUETools";
target.CreationTime = DateTime.Parse("15 Aug 1976");
target.Write(buff);
target.Close();