AudioCompressionManagerGetFormatList Method (Int32, Int32) |
Gets the format list for specified format tag and driver.
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static FormatDetails[] GetFormatList(
int formatTag,
int driver
)
Public Shared Function GetFormatList (
formatTag As Integer,
driver As Integer
) As FormatDetails()
public:
static array<FormatDetails>^ GetFormatList(
int formatTag,
int driver
)
Parameters
- formatTag
- Type: SystemInt32
The format tag. - driver
- Type: SystemInt32
The driver id.
Return Value
Type:
FormatDetails[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.GetFormatList(System.Int32,System.Int32)"]
Examples This example shows simple using of GetFormatList method for specified driver.
private void GetDriver()
{
foreach (DriverDetails dd in AudioCompressionManager.GetDriverList())
{
if (dd.LongName.Contains("{insert text here}"))
{
int driverId = dd.Driver;
FormatDetails[] fd = AudioCompressionManager.GetFormatList(AudioCompressionManager.MpegLayer3FormatTag, driverId);
break;
}
};
}
See Also