Click or drag to resize
AudioCompressionManagerGetCompatibleFormatList Method (IntPtr, Boolean)
Gets the format list for the conversion from the specified format.

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public static FormatDetails[] GetCompatibleFormatList(
	IntPtr format,
	bool showFormatTag
)

Parameters

format
Type: SystemIntPtr
The format handle.
showFormatTag
Type: SystemBoolean
Shows format tag name as result of ToString()method.

Return Value

Type: FormatDetails

[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.GetCompatibleFormatList(System.IntPtr,System.Boolean)"]

Examples
This example shows simple using of GetCompatibleFormatList method.
IntPtr formaGsm = AudioCompressionManager.GetCompatibleFormat(AudioCompressionManager.GetPcmFormat(1, 16, 16000),
                AudioCompressionManager.Gsm610FormatTag);
FormatDetails fd = AudioCompressionManager.GetFormatDetails(formaGsm, true);
Console.WriteLine(fd.ToString());
See Also