Bewerken

Delen via


IAudioClient2 interface (audioclient.h)

The IAudioClient2 interface is derived from the IAudioClient interface, with a set of additional methods that enable a Windows Audio Session API (WASAPI) audio client to do the following: opt in for offloading, query stream properties, and get information from the hardware that handles offloading.The audio client can be successful in creating an offloaded stream if the underlying endpoint supports the hardware audio engine, the endpoint has been enumerated and discovered by the audio system, and there are still offload pin instances available on the endpoint.

Inheritance

The IAudioClient2 interface inherits from the IAudioClient interface. IAudioClient2 also has these types of members:

Methods

The IAudioClient2 interface has these methods.

 
IAudioClient2::GetBufferSizeLimits

The GetBufferSizeLimits method returns the buffer size limits of the hardware audio engine in 100-nanosecond units.
IAudioClient2::IsOffloadCapable

The IsOffloadCapable method retrieves information about whether or not the endpoint on which a stream is created is capable of supporting an offloaded audio stream.
IAudioClient2::SetClientProperties

Sets the properties of the audio stream by populating an AudioClientProperties structure.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header audioclient.h

See also

AudioClientProperties

Core Audio Interfaces

IAudioClient