WaveFormat Structure
|
Language: |
Note: This documentation is preliminary and is subject to change.
Contains properties that define the format of waveform-audio data.
Definition
Visual Basic .NET |
Public Structure WaveFormat |
C# |
public struct WaveFormat |
Managed C++ |
public __value struct WaveFormat |
JScript .NET |
In JScript .NET, you can use structures, but you cannot define your own. |
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
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. |
Structure Information
Namespace |
Microsoft.DirectX.DirectSound |
Assembly |
Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll) |
Strong Name |
Microsoft.DirectX.DirectSound,
Version=1.0.2902.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35 |
See Also
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center