Click or drag to resize
AudioCompressionManagerGetPcmFormat Method
Creates audio format for PCM data

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
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: IntPtr
Returns pointer to PCM format
See Also