AudioCompressionManagerCreateFormat Method |
Create audio format from the byte array.
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static IntPtr CreateFormat(
byte[] arr
)
Public Shared Function CreateFormat (
arr As Byte()
) As IntPtr
public:
static IntPtr CreateFormat(
array<unsigned char>^ arr
)
Parameters
- arr
- Type: SystemByte
byte array
Return Value
Type:
IntPtraudio format
Examples This example shows simple using of CreateFormat method.
IntPtr format = AudioCompressionManager.CreateFormat(AudioCompressionManager.FormatBytes(AudioCompressionManager.GetPcmFormat(2, 16, 8000)));
FormatDetails fd = AudioCompressionManager.GetFormatDetails(format, true);
Console.WriteLine(fd.ToString());
See Also