BASS.NET API for the Un4seen BASS Audio Library

WAVEFORMATEXT Class

BASS.NET API for the Un4seen BASS Audio Library
The WAVEFORMATEXT is a specialized and generic format structure. It contains the WAVEFORMATEX structure and define the format of any Media Foundation audio data. Only format information common to all MF audio data formats are included in this structure. For formats that require additional information, this structure has an additional byte[] keeping the additional information.
Inheritance Hierarchy

SystemObject
  Un4seen.BassWAVEFORMATEXT

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, Pack = 2, CharSet = CharSet.Ansi)]
public sealed class WAVEFORMATEXT

The WAVEFORMATEXT type exposes the following members.

Constructors

  NameDescription
Public methodCode exampleWAVEFORMATEXT(Int32)
Creates an instance of a generic audio codec format with a given total length.
Public methodWAVEFORMATEXT(IntPtr)
Creates an instance of a generic audio codec format from the given format buffer pointer.
Top
Properties

  NameDescription
Public propertyFormatLength
Returns the total length of this instance.
Top
Methods

  NameDescription
Public methodToString
Returns a description string for the instance members.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldextension
Extra format information is appended to the end of the WAVEFORMATEX structure in this array. This information can be used by non-PCM formats to store extra attributes for the wFormatTag. If no extra information is required by the wFormatTag, this member should be set to zero. For WAVE_FORMAT_PCM formats (and only WAVE_FORMAT_PCM formats), this member is ignored.
Public fieldwaveformatex
The WAVEFORMATEX structure that specifies the basic format.
Top
See Also

Reference