Пример #1
0
        public List <AudioTrackInfo> AnalyzeFile(MovieFile File)
        {
            List <AudioTrackInfo> TrackInfoList = new List <AudioTrackInfo>();

            for (int i = 0; i < File.AudioTracksCount; i++)
            {
                AudioTrackInfo Info = new AudioTrackInfo(File.getTrackID(StreamKind.Audio, i), File.getAudioTrackFormat(i), File.getAudioBitDepth(i), File.getAudioChannels(i), i + File.VideoTracksCount + 1);
                TrackInfoList.Add(Info);
            }

            return(TrackInfoList);
        }
Пример #2
0
 public void Analyse_File(string FilePath)
 {
     init_Form();
     for (int i = 0; i < nowFile.AudioTracksCount; i++)
     {
         gridview_Tracks.Rows.Add(false, nowFile.getTrackID(StreamKind.Audio, i), nowFile.getAudioTrackFormat(i), nowFile.getAudioBitDepth(i), nowFile.getAudioChannels(i));
     }
 }