Click or drag to resize

WaveDataChunk Class

Represents the data chunk in a WAVE media format file.
Inheritance Hierarchy
SystemObject
  GSF.MediaRiffChunk
    GSF.MediaWaveDataChunk

Namespace: GSF.Media
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.218-beta
Syntax
public class WaveDataChunk : RiffChunk, 
	ISupportBinaryImage
View Source

The WaveDataChunk type exposes the following members.

Constructors
 NameDescription
Public methodWaveDataChunk(WaveFormatChunk) Constructs a new WAVE data chunk for the specified format.
Public methodWaveDataChunk(RiffChunk, Stream, WaveFormatChunk)Reads a new WAVE format section from the specified stream.
Top
Properties
 NameDescription
Public propertyBinaryLength Gets length of the binary representation of this WaveDataChunk.
(Overrides RiffChunkBinaryLength)
Public propertyChunkSize Gets the chunk size of this WaveDataChunk.
(Overrides RiffChunkChunkSize)
Public propertySampleBlocks Gets list of little-endian formatted sample data blocks of this WaveDataChunk.
Public propertyTypeIDFour character text identifer for RIFF chunk.
(Inherited from RiffChunk)
Public propertyWaveFormat Gets or sets associated WaveFormatChunk that defines the format of the data in this WaveDataChunk.
Top
Methods
 NameDescription
Public methodClone Creates a deeply cloned copy of the WaveDataChunk.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateBinaryImage Generates a binary representation of this WaveDataChunk and copies it into the given buffer.
(Overrides RiffChunkGenerateBinaryImage(Byte, Int32))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberRiffTypeID Type ID of a WAVE data chunk.
Top
Extension Methods
 NameDescription
Public Extension MethodBinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)
Top
See Also