WaveReadWriterWriteInfoTag Method |
Namespace: Alvas.Audio
[Missing <param name="tag"/> documentation for "M:Alvas.Audio.WaveReadWriter.WriteInfoTag(System.Collections.Generic.Dictionary{Alvas.Audio.WaveInfo,System.String})"]
//removes INFO tags from audio stream WaveReadWriter wrw1 = new WaveReadWriter(File.Open("in1.wav", FileMode.Open, FileAccess.ReadWrite)); wrw1.WriteInfoTag(null); wrw1.Close(); //writes INFO tags into audio stream WaveReadWriter wrw2 = new WaveReadWriter(File.Open("in2.wav", FileMode.Open, FileAccess.ReadWrite)); var tag = new Dictionary<WaveInfo, string>(); tag[WaveInfo.Comments] = "Comments..."; wrw2.WriteInfoTag(tag); wrw2.Close();