Microsoft DirectX 9.0 SDK Update (October 2004)

WaveFormat.AverageBytesPerSecond Property

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Property AverageBytesPerSecond As Integer
C# public int AverageBytesPerSecond { get; set; }
Managed C++ public: __property int get_AverageBytesPerSecond();
public: __property void set_AverageBytesPerSecond(int);
JScript .NET 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


© 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