WaveFormat Structure (Microsoft.DirectX.DirectSound)
Contains properties that define the format of waveform-audio data.
Visual Basic Public Structure WaveFormat C# public struct WaveFormat C++ public value class WaveFormat sealed JScript In JScript, you can use structures, but you cannot define your own.
The following table lists the members exposed by the object.
Methods
Method Description ToString Obtains a string representation of the current instance. WaveFormat Initializes a new instance of the WaveFormat sturcture. Properties
Property Description AverageBytesPerSecond Retrieves and sets the required average data-transfer rate, in bytes per second, for the format type. BitsPerSample Retrieves and sets the bits per sample for the format type. BlockAlign Retrieves and sets the minimum atomic unit of data, in bytes, for the format type. Channels Retrieves and sets the number of channels in the waveform-audio data, for the format type. FormatTag Retrieves and sets the waveform-audio format type, for the format type. SamplesPerSecond Retrieves and sets the sample rate, in samples per second (hertz), for the format type.
Namespace Microsoft.DirectX.DirectSound Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll) Strong Name Microsoft.DirectX.DirectSound, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
Show: