IAudioEndpointOffloadStreamVolume::GetChannelVolumes method (audioengineendpoint.h)

The GetChannelVolumes method retrieves the volume levels for the various audio channels in the offloaded stream.

Syntax

HRESULT GetChannelVolumes(
  [in]  UINT32  u32ChannelCount,
  [out] FLOAT32 *pf32Volumes
);

Parameters

[in] u32ChannelCount

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

[out] pf32Volumes

A pointer to the volume levels for the various audio channels in the offloaded stream.

Return value

The GetChannelVolumes 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

IAudioEndpointOffloadStreamVolume