Click or drag to resize
AudioCompressionManagerWave2Mp3 Method (Stream, Stream)
Converts Wave stream to Mp3 stream.

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public static void Wave2Mp3(
	Stream waveStream,
	Stream mp3Stream
)

Parameters

waveStream
Type: System.IOStream
input Wave stream
mp3Stream
Type: System.IOStream
output Mp3 stream
Examples
This example shows simple using of Wave2Mp3 method.
string inFile = "test2.wav";
string outFile = @"test2.mp3";

AudioCompressionManager.Wave2Mp3(File.OpenRead(inFile), File.Create(outFile));
See Also