IAudioVolumeDuckNotification::OnVolumeUnduckNotification method (audiopolicy.h)

The OnVolumeUnduckNotification method sends a notification about a pending system unducking event. For more information, see Implementation Considerations for Ducking Notifications.

Syntax

HRESULT OnVolumeUnduckNotification(
  [in] LPCWSTR sessionID
);

Parameters

[in] sessionID

A string containing the session instance identifier of the terminating communications session that initiated the ducking. To get the session instance identifier, call IAudioSessionControl2::GetSessionInstanceIdentifier.

Return value

If the method succeeds, it returns S_OK.

Remarks

After the application registers its implementation of the IAudioVolumeDuckNotification interface by calling IAudioSessionManager2::RegisterDuckNotification, the session manager calls OnVolumeUnduckNotification when it wants to send a notification about when ducking ends. The application receives the event notifications in the form of callbacks.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header audiopolicy.h

See also

IAudioVolumeDuckNotification

Using a Communication Device