Alvas.Audio Class Library

AudioCompressionManager.GetMp3Format Method 

Creates audio format for MPEG Layer3 audio data

[Visual Basic]
Public Shared Function GetMp3Format( _
   ByVal channels As Short, _
   ByVal kbps As Short, _
   ByVal samplesPerSec As Integer _
) As IntPtr
[C#]
public static IntPtr GetMp3Format(
   short channels,
   short kbps,
   int samplesPerSec
);

Parameters

channels
channels number (1 - mono, 2 - stereo)
kbps
kbits per second (56, for example)
samplesPerSec
samples per second (11025, for example)

Return Value

See Also

AudioCompressionManager Class | Alvas.Audio Namespace