Esempio n. 1
0
 private void AddConcatenatedFiles(List <FileInfo> fileInfos)
 {
     if (fileInfos.Select(fi => AudioStreamFactory.IsSupportedFile(fi.FullName)).Count() == fileInfos.Count)
     {
         AudioTrack audioTrack = new AudioTrack(fileInfos.ToArray());
         trackList.Add(audioTrack);
     }
 }
Esempio n. 2
0
 private void AddFile(string fileName)
 {
     if (AudioStreamFactory.IsSupportedFile(fileName))
     {
         AudioTrack audioTrack = new AudioTrack(new FileInfo(fileName));
         trackListBox.Items.Add(audioTrack);
     }
 }