Click or drag to resize
Mp3ReaderMakeWave Method
Changes MP3 stream to Wave stream.

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public void MakeWave(
	Stream stream
)

Parameters

stream
Type: System.IOStream
stream with resulting wave header and data
Examples
This example shows simple using of MakeWave method.
string mp3File = "in.mp3";
using (Mp3Reader mr = new Mp3Reader(File.OpenRead(mp3File)))
{
    string wavFile = "out.wav";
    using (FileStream fs = File.Create(wavFile))
    {
        mr.MakeWave(fs);
    }
}
See Also