Bewerken

Delen via


IAudioClient2::IsOffloadCapable method (audioclient.h)

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.

Syntax

HRESULT IsOffloadCapable(
  [in]  AUDIO_STREAM_CATEGORY Category,
  [out] BOOL                  *pbOffloadCapable
);

Parameters

[in] Category

An enumeration that specifies the category of an audio stream.

[out] pbOffloadCapable

A pointer to a Boolean value. TRUE indicates that the endpoint is offload-capable. FALSE indicates that the endpoint is not offload-capable.

Return value

The IsOffloadCapable 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 | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header audioclient.h

See also

AUDIO_STREAM_CATEGORY

IAudioClient2