Alvas.Audio Class Library

AudioCompressionManager.GetFormatList Method (Int32, Boolean)

Gets the format list for specified format tag and suitable driver.

[Visual Basic]
Overloads Public Shared Function GetFormatList( _
   ByVal formatTag As Integer, _
   ByVal showFormatTag As Boolean _
) As FormatDetails()
[C#]
public static FormatDetails[] GetFormatList(
   Int32 formatTag,
   Boolean showFormatTag
);

Parameters

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

Return Value

Example

This example shows simple using of GetFormatList method.

FormatDetails[] fdArr = AudioCompressionManager.GetFormatList(AudioCompressionManager.AdpcmFormatTag, true);
foreach (FormatDetails fd in fdArr)
{
    Console.WriteLine(fd.ToString());
}
 

See Also

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