Click or drag to resize
AudioWaveFormatCreateCustomFormat Method
Creates a AudioWaveFormat with custom members

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public static AudioWaveFormat CreateCustomFormat(
	WaveFormatEncoding tag,
	int sampleRate,
	int channels,
	int averageBytesPerSecond,
	int blockAlign,
	int bitsPerSample
)

Parameters

tag
Type: Ozeki.MediaWaveFormatEncoding
The encoding
sampleRate
Type: SystemInt32
Sample Rate
channels
Type: SystemInt32
Number of channels
averageBytesPerSecond
Type: SystemInt32
Average Bytes Per Second
blockAlign
Type: SystemInt32
Block Align
bitsPerSample
Type: SystemInt32
Bits Per Sample

Return Value

Type: AudioWaveFormat
See Also