Skip to content

Latest commit

 

History

History
100 lines (78 loc) · 4.28 KB

nf-audiopolicy-iaudiosessionmanager2-unregisterducknotification.md

File metadata and controls

100 lines (78 loc) · 4.28 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:audiopolicy.IAudioSessionManager2.UnregisterDuckNotification
IAudioSessionManager2::UnregisterDuckNotification (audiopolicy.h)
The UnregisterDuckNotification method deletes a previous registration by the application to receive notifications.
IAudioSessionManager2 interface [Core Audio]
UnregisterDuckNotification method
IAudioSessionManager2.UnregisterDuckNotification
IAudioSessionManager2::UnregisterDuckNotification
UnregisterDuckNotification
UnregisterDuckNotification method [Core Audio]
UnregisterDuckNotification method [Core Audio]
IAudioSessionManager2 interface
audiopolicy/IAudioSessionManager2::UnregisterDuckNotification
coreaudio.iaudiosessionmanager2_unregisterducknotification
coreaudio\iaudiosessionmanager2_unregisterducknotification.htm
CoreAudio
0ab0f5d0-8831-41a2-bfee-3e88a3d92156
12/05/2018
IAudioSessionManager2 interface [Core Audio],UnregisterDuckNotification method, IAudioSessionManager2.UnregisterDuckNotification, IAudioSessionManager2::UnregisterDuckNotification, UnregisterDuckNotification, UnregisterDuckNotification method [Core Audio], UnregisterDuckNotification method [Core Audio],IAudioSessionManager2 interface, audiopolicy/IAudioSessionManager2::UnregisterDuckNotification, coreaudio.iaudiosessionmanager2_unregisterducknotification
audiopolicy.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IAudioSessionManager2::UnregisterDuckNotification
audiopolicy/IAudioSessionManager2::UnregisterDuckNotification
c++
APIRef
kbSyntax
COM
audiopolicy.h
IAudioSessionManager2.UnregisterDuckNotification

IAudioSessionManager2::UnregisterDuckNotification

-description

The UnregisterDuckNotification method deletes a previous registration by the application to receive notifications.

-parameters

-param duckNotification

Pointer to the IAudioVolumeDuckNotification interface that is implemented by the application. Pass the same interface pointer that was specified to the session manager in a previous call to the IAudioSessionManager2::RegisterDuckNotification method. If the UnregisterDuckNotification method succeeds, it calls the Release method on the application's IAudioVolumeDuckNotification interface.

-returns

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return value Description
E_POINTER
duckNotification is NULL.

-remarks

The application calls this method when it no longer needs to receive notifications. The UnregisterDuckNotification method removes the registration of an IAudioVolumeDuckNotification interface that the application previously registered with the session manager by calling the IAudioSessionManager2::RegisterDuckNotification method.

After the application calls UnregisterDuckNotification, any pending events are not reported to the application.

-see-also

Default Ducking Experience

Getting Ducking Events

IAudioSessionManager2