BASS.NET API for the Un4seen BASS Audio Library

WAVEFORMATEXnAvgBytesPerSec Field

BASS.NET API for the Un4seen BASS Audio Library
In most cases, this member contains the required average data-transfer rate, in bytes per second, for the format tag. If wFormatTag is WAVE_FORMAT_PCM, nAvgBytesPerSec should be equal to the product of nSamplesPerSec and nBlockAlign. For non-PCM formats, this member must be computed according to the manufacturer's specification of the format tag. When the Windows Media Audio 9 Codec is in quality-based variable-bit-rate mode, the high-order bytes of this member are set to 0x7fffff and the low-order byte is set to a value from one through 100 which indicates the quality level.

Typical Calculation: nSamplesPerSec * nBlockAlign

Default = 176400

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public int nAvgBytesPerSec

Field Value

Type: Int32
See Also

Reference