ITScriptableAudioFormat::put_AvgBytesPerSec method (tapi3if.h)

The put_AvgBytesPerSec method sets the nAvgBytesPerSec member in the WAVEFORMATEX structure.

Syntax

HRESULT put_AvgBytesPerSec(
  [in] const long nNewVal
);

Parameters

[in] nNewVal

New value for the nAvgBytesPerSec member in the WAVEFORMATEX structure.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITScriptableAudioFormat

get_AvgBytesPerSec