IAudioEndpointOffloadStreamMeter::GetMeteringData method (audioengineendpoint.h)

The GetMeteringData method retrieves general information about the available audio channels in the offloaded stream.

Syntax

HRESULT GetMeteringData(
  [in]  UINT32  u32ChannelCount,
  [out] FLOAT32 *pf32PeakValues
);

Parameters

[in] u32ChannelCount

Indicates the number of available audio channels in the offloaded audio stream.

[out] pf32PeakValues

A pointer to the peak values for the audio channels in the offloaded audio stream.

Return value

The GetMeteringData method returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header audioengineendpoint.h

See also

IAudioEndpointOffloadStreamMeter