Click or drag to resize
WaveFormatExtensible Class
A managed representation of the multimedia WAVEFORMATEX structure declared in mmreg.h.
Inheritance Hierarchy
SystemObject
  StreamCoders.Adaptive.CommonWaveFormatExtensible

Namespace: StreamCoders.Adaptive.Common
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class WaveFormatExtensible

The WaveFormatExtensible type exposes the following members.

Constructors
  NameDescription
Public methodWaveFormatExtensible
Initializes a new instance of the WaveFormatExtensible class
Top
Properties
  NameDescription
Public propertyAverageBytesPerSecond
Gets or sets the average data-transfer rate, in bytes per second, for the format.
Public propertyBitsPerSample
Gets or sets the number of bits in a single sample of the format's data.
Public propertyBlockAlign
Gets or sets the minimum size of a unit of data for the given format in Bytes.
Public propertyChannels
Gets or sets the number of channels in the data. Mono 1 Stereo 2 Dual 2 (2 Mono channels)
Public propertyExtraBytes
Gets or sets the extra bytes.
Public propertyFormatTag
Gets or sets the audio format type. A complete list of format tags can be found in the Mmreg.h header file.
Public propertySamplesPerSec
Gets or sets the sampling rate in hertz (samples per second)
Public propertySize
Gets or sets the size in bytes of any extra format data added to the end of the WAVEFORMATEX structure.
Top
Methods
  NameDescription
Public methodStatic memberCreateFrom(BinaryReader)
Public methodStatic memberCreateFrom(TrackInfo)
Creates an instance of WaveFormatExtensible given a TrackInfo.
Public methodToHexString
Returns a string representing the structure in little-endian hexadecimal format.
Public methodToString
Returns a string representing all of the fields in the object.
(Overrides ObjectToString.)
Public methodWriteTo
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
Remarks
This was designed for usage in an environment where PInvokes are not allowed.
See Also