Click or drag to resize
AudioCompressionManagerFormatBytes Method
Returns audio format byte array.

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public static byte[] FormatBytes(
	IntPtr format
)

Parameters

format
Type: SystemIntPtr

[Missing <param name="format"/> documentation for "M:Alvas.Audio.AudioCompressionManager.FormatBytes(System.IntPtr)"]

Return Value

Type: Byte

[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.FormatBytes(System.IntPtr)"]

Examples
This example shows simple using of FormatBytes method.
WaveWriter ww = new WaveWriter(File.Create("out.wav"), 
    AudioCompressionManager.FormatBytes(AudioCompressionManager.GetPcmFormat(2, 16, 8000)));
ww.Close();
See Also