Click or drag to resize
WaveFormatExAsWaveFormat Method
Converts a AudioFormat to a WaveFormat.

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public static WaveFormat AsWaveFormat(
	this AudioFormat mediaFormat
)

Parameters

mediaFormat
Type: Ozeki.MediaAudioFormat
The media format to convert.

Return Value

Type: WaveFormat
The AudioWaveFormat.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AudioFormat. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also