AudioCompressionManagerGetFormatList Method (Int32, Boolean) |
Gets the format list for specified format tag and suitable driver.
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static FormatDetails[] GetFormatList(
int formatTag,
bool showFormatTag
)
Public Shared Function GetFormatList (
formatTag As Integer,
showFormatTag As Boolean
) As FormatDetails()
public:
static array<FormatDetails>^ GetFormatList(
int formatTag,
bool showFormatTag
)
Parameters
- formatTag
- Type: SystemInt32
The format tag. - showFormatTag
- Type: SystemBoolean
Shows format tag name as result of ToString()method.
Return Value
Type:
FormatDetails[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.GetFormatList(System.Int32,System.Boolean)"]
Examples 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