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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for