Skip to main content
IAudioLfxControl::SetLocalEffectsState method

The SetLocalEffectsState method sets the local effects state that is to be applied to the offloaded audio stream.

Syntax


HRESULT SetLocalEffectsState(
  [in]  BOOL bEnabled
);

Parameters

bEnabled [in]

Indicates the local effects state that is to be applied to the offloaded audio stream. A value of TRUE enables local effects, and the local effects in the audio graph are applied to the stream. A value of FALSE disables local effects, so that the local effects in the audio graph are not applied to the audio stream.

Return value

The SetLocalEffectsState 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

IAudioLfxControl