IXboxVolumeNotificationClient Interface

Defines an Xbox One client for the title to receive notifications of volume muting and unmuting when background music plays during the playing of game media.

Syntax

interface IXboxVolumeNotificationClient : public IUnknown  

Remarks

IXboxVolumeNotificationClient supports two callback functions for notification of volume muting and unmuting. The title registers for notifications using calls to the IAudioClient2::RegisterXboxVolumeNotificationCallback Method. When a ForegroundOnlyMedia or BackgroundCapableMedia stream is played, the title’s IXboxVolumeNotificationClient::OnGameMediaMuted Method is called, but only when a game media stream is playing. When a game media stream is muted, and all ForegroundOnlyMedia and BackgroundCapableMedia streams have stopped, the title’s IXboxVolumeNotificationClient::OnGameMediaUnmuted Method is called, but only when a game media stream is playing.

Requirements

Header: Declared in audioclient.h.

Library: Use mmdevapi.lib.

See also

IXboxVolumeNotificationClient Members