Alvas.Audio Class Library

AudioCompressionManager.GetFormatDetails Method (IntPtr, Boolean)

Gets the format details for specified format.

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

Parameters

format
The format.
showFormatTag
Shows format tag name as result of ToString()method.

Return Value

Example

This example shows simple using of GetFormatDetails method.

IntPtr format = AudioCompressionManager.GetPcmFormat(2, 16, 24000);
FormatDetails fd = AudioCompressionManager.GetFormatDetails(format, true);
Console.WriteLine(fd.ToString());
 

See Also

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