Click or drag to resize
WaveFormatExtensible Class
The WaveFormatExtensible structure defines the format of waveform-audio data for formats having more than two channels.
Inheritance Hierarchy

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class WaveFormatExtensible : WaveFormat

The WaveFormatExtensible type exposes the following members.

Constructors
  NameDescription
Public methodWaveFormatExtensible
Creates a new WaveFormatExtensible for PCM or IEEE
Top
Methods
  NameDescription
Public methodEquals
Compares with another AudioWaveFormat object
(Inherited from WaveFormat.)
Public methodGetHashCode
Provides a Hashcode for this AudioWaveFormat
(Inherited from WaveFormat.)
Public methodToString
Returns a string that represents the current object.
(Inherited from WaveFormat.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsVoIPMediaFormat
Converts a WaveFormat to a AudioFormat.
(Defined by WaveFormatEx.)
Top
Fields
  NameDescription
Public fielddwChannelMask
Bitmask specifying the assignment of channels in the stream to speaker positions.
Public fieldsubFormat
Subformat of the data, such as KSDATAFORMAT_SUBTYPE_PCM. The subformat information is similar to that provided by the tag in the WAVEFORMATEX structure's wFormatTag member.
Public fieldwValidBitsPerSample
Number of bits of precision in the signal. Usually equal to WAVEFORMATEX.wBitsPerSample or wSamplesPerBlock if wBitsPerSample==0
Top
Properties
  NameDescription
Public propertyAverageBytesPerSec
Gets or sets the required average data-transfer rate, in bytes per second, for the format tag. (nAvgBytesPerSec)
(Inherited from WaveFormat.)
Public propertyBitsPerSample
Gets or sets the bits per sample for the WaveFormatTag format type. (wBitsPerSample) If WaveFormatTag is PCM, then this should be equal to 8 or 16. For non-PCM formats, this member must be set according to the manufacturer's specification of the format tag. If WaveFormatTag is EXTENSIBLE, this value can be any integer multiple of 8 and represents the container size, not necessarily the sample size; for example, a 20-bit sample size is in a 24-bit container. Some compression schemes cannot define a value for BitsPerSample, so this member can be 0.
(Inherited from WaveFormat.)
Public propertyBlockAlign
Gets or sets Block alignment, in bytes. (nBlockAlign)
(Inherited from WaveFormat.)
Public propertyCbSize
Gets or sets the size of extra format information appended to the end of the WAVEFORMATEX structure in bytes. (cbSize) This information can be used by non-PCM formats to store extra attributes for the WaveFormatTag. If no extra information is required by the WaveFormatTag, this member must be set to 0. For PCM formats, this member is ignored. When this structure is included in a WAVEFORMATEXTENSIBLE structure, this value must be at least 22.
(Inherited from WaveFormat.)
Public propertyChannels
Gets or sets the number of channels in the waveform-audio data. (Mono = 1, Stereo = 2). (nChannels)
(Inherited from WaveFormat.)
Public propertySampleRate
Gets or sets the sample rate, in samples per second (hertz). (nSamplesPerSec)
(Inherited from WaveFormat.)
Public propertyWaveFormatTag
Gets or sets the Waveform-audio format type. (wFormatTag)
(Inherited from WaveFormat.)
Top
Remarks
http://www.microsoft.com/whdc/device/audio/multichaud.mspx http://msdn.microsoft.com/en-us/library/dd757721%28v=VS.85%29.aspx
See Also