Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAudioEndpointOffloadStreamVolume::SetChannelVolumes method

The SetChannelVolumes method sets the volume levels for the various audio channels in the offloaded stream.

Syntax


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

Parameters

u32ChannelCount [in]

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

pf32Volumes [in]

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

Return value

The SetChannelVolumes 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: