IAudioEndpointOffloadStreamVolume::GetChannelVolumes method

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

u32ChannelCount [in]

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

pf32Volumes [out]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Audioengineendpoint.h

See also

IAudioEndpointOffloadStreamVolume

 

 

Show: