Alvas.Audio Class Library

AudioCompressionManager.GetCompatibleFormatList Method (IntPtr)

Gets the format list for the conversion from the specified format.

[Visual Basic]
Overloads Public Shared Function GetCompatibleFormatList( _
   ByVal format As IntPtr _
) As FormatDetails()
[C#]
public static FormatDetails[] GetCompatibleFormatList(
   IntPtr format
);

Parameters

format
The format handle.

Return Value

Example

This example shows simple using of GetCompatibleFormatList method.

IntPtr formaGsm = AudioCompressionManager.GetCompatibleFormat(AudioCompressionManager.GetPcmFormat(1, 16, 16000),
                AudioCompressionManager.Gsm610FormatTag);
FormatDetails fd = AudioCompressionManager.GetFormatDetails(formaGsm);
Console.WriteLine(fd.ToString());
 

See Also

AudioCompressionManager Class | Alvas.Audio Namespace | AudioCompressionManager.GetCompatibleFormatList Overload List