AudioCompressionManagerGetFormatDetails Method (IntPtr, Boolean) |
Gets the format details for specified format.
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static FormatDetails GetFormatDetails(
IntPtr format,
bool showFormatTag
)
Public Shared Function GetFormatDetails (
format As IntPtr,
showFormatTag As Boolean
) As FormatDetails
public:
static FormatDetails GetFormatDetails(
IntPtr format,
bool showFormatTag
)
Parameters
- format
- Type: SystemIntPtr
The format. - showFormatTag
- Type: SystemBoolean
Shows format tag name as result of ToString()method.
Return Value
Type:
FormatDetails[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.GetFormatDetails(System.IntPtr,System.Boolean)"]
Examples 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