コード例 #1
0
ファイル: MainForm.cs プロジェクト: enigmagame/WavConcat
        private void AddFile(string fullFilePath)
        {
            WaveSound sound = new WaveSound();
            sound.Name = Path.GetFileNameWithoutExtension(fullFilePath);
            sound.Read(fullFilePath);

            ListViewItem item = new ListViewItem(sound.Name);
            item.SubItems.Add(sound.NumChannels.ToString());
            item.SubItems.Add(sound.SampleRate.ToString());
            item.SubItems.Add(sound.BitsPerSample.ToString());
            item.Tag = sound;
            listView.Items.Add(item);
        }