예제 #1
0
 public void ImportFile(string srcFile, string targetName, string targetDir)
 {
     string[] output = this.GetOutputFiles(srcFile, targetName, targetDir);
     AudioData res = new AudioData();
     res.OggVorbisData = File.ReadAllBytes(srcFile);
     res.SourcePath = srcFile;
     res.Save(output[0]);
 }
예제 #2
0
 public void ImportFile(string srcFile, string targetName, string targetDir)
 {
     string[] output = this.GetOutputFiles(srcFile, targetName, targetDir);
     AudioData res = new AudioData(srcFile);
     res.Save(output[0]);
 }