VoxVox2Mp3 Method (Stream, Stream, Int32) |
Converts Dialogic .vox (adpcm) stream to Mp3 stream.
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static void Vox2Mp3(
Stream voxStream,
Stream mp3Stream,
int samplesPerSec
)
Public Shared Sub Vox2Mp3 (
voxStream As Stream,
mp3Stream As Stream,
samplesPerSec As Integer
)
public:
static void Vox2Mp3(
Stream^ voxStream,
Stream^ mp3Stream,
int samplesPerSec
)
Parameters
- voxStream
- Type: System.IOStream
input Vox stream - mp3Stream
- Type: System.IOStream
output Mp3 stream - samplesPerSec
- Type: SystemInt32
samples per second
Examples This example shows simple using of Vox2Mp3 method.
string voxFile = "in.vox";
string mp3File = "out.mp3";
int samplesPerSec = 8000;
Vox.Vox2Mp3(File.OpenRead(voxFile), File.Create(mp3File), samplesPerSec);
See Also