Share via


WaveFormat.AverageBytesPerSecond Property (Microsoft.DirectX.DirectSound)

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