AudioCompressionManagerReverse Method (IntPtr, Byte) |
Namespace: Alvas.Audio
[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.Reverse(System.IntPtr,System.Byte[])"]
string inFile = "test2.wav"; string outFile = "ReverseTest3.wav"; WaveReader wr = new WaveReader(File.OpenRead(inFile)); IntPtr format = wr.ReadFormat(); byte[] data = wr.ReadData(); wr.Close(); WaveWriter ww = new WaveWriter(File.Create(outFile), AudioCompressionManager.FormatBytes(format)); ww.WriteData(AudioCompressionManager.Reverse(format, data)); ww.Close();