ITScriptableAudioFormat::get_AvgBytesPerSec method (tapi3if.h)

The get_AvgBytesPerSec method returns the value for the nAvgBytesPerSec member in the WAVEFORMATEX structure.

Syntax

HRESULT get_AvgBytesPerSec(
  [out] long *pVal
);

Parameters

[out] pVal

Pointer to the 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
E_POINTER
The pVal argument is not a valid pointer.

Requirements

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

See also

ITScriptableAudioFormat

put_AvgBytesPerSec