![]() |
Wave
|
public class WaveFormatChunk : RiffChunk, ISupportBinaryImage
The WaveFormatChunk type exposes the following members.
Name | Description | |
---|---|---|
![]() | WaveFormatChunk(RiffChunk, Stream) | Reads a new WaveFormatChunk from the specified stream. |
![]() | WaveFormatChunk(Int32, Int16, Int16, UInt16) | Constructs a new WaveFormatChunk using the specified audio parameters. |
Name | Description | |
---|---|---|
![]() | AudioFormat | Gets or sets audio format used by the WaveFile. |
![]() | BinaryLength |
Gets the length of WaveFormatChunk.
(Overrides RiffChunkBinaryLength) |
![]() | BitsPerSample | Gets or sets number of bits-per-sample in the WaveFile. |
![]() | BlockAlignment | Gets or sets the block size of a complete sample of data (i.e., samples for all channels of data at one instant in time). |
![]() | ByteRate | Gets or sets the byte rate used for buffer estimation. |
![]() | Channels | Gets or sets number of audio channels in the WaveFile. |
![]() | ChunkSize | Size of WaveFormatChunk. (Overrides RiffChunkChunkSize) |
![]() | ExtraParameters | Gets or sets any extra parameters defined in the format header of the WaveFile. |
![]() | ExtraParametersSize | Gets the size of the ExtraParameters buffer, if defined. |
![]() | SampleRate | Gets or sets the sample rate (i.e., the number of samples per second) defined in the WaveFile. |
![]() | TypeID | Four character text identifer for RIFF chunk. (Inherited from RiffChunk) |
Name | Description | |
---|---|---|
![]() | CastSample | Casts sample value to its equivalent native type based on defined BitsPerSample and AudioFormat. |
![]() | Clone | Creates a copy of the WaveFormatChunk. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | GenerateBinaryImage |
Generates a binary representation of this WaveFormatChunk and copies it into the given buffer.
(Overrides RiffChunkGenerateBinaryImage(Byte, Int32)) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetSampleTypeCode | Determines sample data type code based on defined BitsPerSample and AudioFormat. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | ParseBinaryImage | Parses WaveFormatChunk object by parsing the specified buffer containing a binary image. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
![]() ![]() | RiffTypeID | RIFF type ID for wave format chunk (i.e., "fmt "). |
Name | Description | |
---|---|---|
![]() | BinaryImage |
Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions) |
![]() | CopyBinaryImageToStream |
Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions) |
![]() | CopyImage |
This is a common optimized block copy function for any kind of data.
(Defined by Common) |
![]() | GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() | GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() | ParseBinaryImageFromStream |
Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions) |