IAudioEffectsManager::RegisterAudioEffectsChangedNotificationCallback method (audioclient.h)

Registers an IAudioEffectsChangedNotificationClient interface. This callback interface allows applications to receive notifications when the list of audio effects changes or the resources needed to enable an effect changes, i.e. when the value of the canSetState field of the associated AUDIO_EFFECT changes.

Syntax

HRESULT RegisterAudioEffectsChangedNotificationCallback(
  IAudioEffectsChangedNotificationClient *client
);

Parameters

client

The IAudioEffectsChangedNotificationClient interface to register.

Return value

Value Description
S_OK Success
AUDCLNT_E_DEVICE_INVALIDATED The associated audio stream has been destroyed.

Remarks

Unregister the callback interface by calling UnregisterAudioEffectsChangedNotificationCallback.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Header audioclient.h