ITScriptableAudioFormat::put_BitsPerSample method (tapi3if.h)

The put_BitsPerSample method sets the wBitsPerSample member in the WAVEFORMATEX structure.

Syntax

HRESULT put_BitsPerSample(
  [in] const long nNewVal
);

Parameters

[in] nNewVal

New value for the wBitsPerSample 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_BitsPerSample