IAudioClient2::SetOffloadMode method

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps | Metro style apps

The SetOffloadMode method is used to set the offload mode for an audio stream.

Syntax

HRESULT SetOffloadMode(
  [in]   *bOffload
);

Parameters

  • bOffload [in]
    A Boolean value. TRUE configures the stream to use offload resources. FALSE configures the stream to not use offload resources.

Return value

The SetOffloadMode method returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code. For example, the method returns AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE if the endpoint does not support offloading.

See also

IAudioClient2

 

 

Build date: 3/26/2012