AudioCompressionManagerGetPcmFormat Method |
Creates audio format for PCM data
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static IntPtr GetPcmFormat(
short channels,
short bitsPerSample,
int samplesPerSec
)
Public Shared Function GetPcmFormat (
channels As Short,
bitsPerSample As Short,
samplesPerSec As Integer
) As IntPtr
public:
static IntPtr GetPcmFormat(
short channels,
short bitsPerSample,
int samplesPerSec
)
Parameters
- channels
- Type: SystemInt16
channels number (1 - mono, 2 - stereo) - bitsPerSample
- Type: SystemInt16
bits per sample (8 or 16) - samplesPerSec
- Type: SystemInt32
samples per second (6000, for example)
Return Value
Type:
IntPtrReturns pointer to PCM format
See Also