WaveFormat.AverageBytesPerSecond Property

Language:

Retrieves and sets the required average data-transfer rate, in bytes per second, for the format type.

Definition

Visual Basic Public Property AverageBytesPerSecond As Integer
C# public int AverageBytesPerSecond { get; set; }
C++ public:
property int AverageBytesPerSecond {
        int get();
        void set(int value);
}
JScript public function get AverageBytesPerSecond() : int
public function set AverageBytesPerSecond(int);

Property Value

System.Int32
The required average data-transfer rate, in bytes per second, for the format type.

This property is read/write. 

Remarks

Because Microsoft DirectX 9.0 for Managed Code only supports a FormatTag of WaveFormatTag.Pcm, the AverageBytesPerSecond property should be a product of BlockAlign and SamplesPerSecond


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center