ITScriptableAudioFormat::get_SamplesPerSec method (tapi3if.h)

The get_SamplesPerSec method returns the value for the nSamplesPerSec member in the WAVEFORMATEX structure.

Syntax

HRESULT get_SamplesPerSec(
  [out] long *pVal
);

Parameters

[out] pVal

Pointer to the value of the nSamplesPerSec 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

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

See also

ITScriptableAudioFormat

put_SamplesPerSec