AudioCompressionManagerGetCompatibleFormatList Method (IntPtr, Boolean) |
Gets the format list for the conversion from the specified format.
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static FormatDetails[] GetCompatibleFormatList(
IntPtr format,
bool showFormatTag
)
Public Shared Function GetCompatibleFormatList (
format As IntPtr,
showFormatTag As Boolean
) As FormatDetails()
public:
static array<FormatDetails>^ GetCompatibleFormatList(
IntPtr format,
bool showFormatTag
)
Parameters
- format
- Type: SystemIntPtr
The format handle. - showFormatTag
- Type: SystemBoolean
Shows format tag name as result of ToString()method.
Return Value
Type:
FormatDetails[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.GetCompatibleFormatList(System.IntPtr,System.Boolean)"]
Examples This example shows simple using of GetCompatibleFormatList method.
IntPtr formaGsm = AudioCompressionManager.GetCompatibleFormat(AudioCompressionManager.GetPcmFormat(1, 16, 16000),
AudioCompressionManager.Gsm610FormatTag);
FormatDetails fd = AudioCompressionManager.GetFormatDetails(formaGsm, true);
Console.WriteLine(fd.ToString());
See Also