APO_NOTIFICATION structure (audioengineextensionapo.h)

Represents a notification for a change to an APO endpoint or system effects.

Syntax

typedef struct APO_NOTIFICATION {
  APO_NOTIFICATION_TYPE type;
  union {
    AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION        audioEndpointVolumeChange;
    AUDIO_ENDPOINT_PROPERTY_CHANGE_NOTIFICATION      audioEndpointPropertyChange;
    AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_NOTIFICATION audioSystemEffectsPropertyChange;
    AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION2       audioEndpointVolumeChange2;
    DEVICE_ORIENTATION_TYPE                          deviceOrientation;
    AUDIO_MICROPHONE_BOOST_NOTIFICATION              audioMicrophoneBoostChange;
  } DUMMYUNIONNAME;
} APO_NOTIFICATION;

Members

type

A value from the APO_NOTIFICATION_TYPE enumeration specifying the type of change the notification represents.

DUMMYUNIONNAME

DUMMYUNIONNAME.audioEndpointVolumeChange

An AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION representing a notification of a change to APO endpoint volume.

DUMMYUNIONNAME.audioEndpointPropertyChange

An AUDIO_ENDPOINT_PROPERTY_CHANGE_NOTIFICATION representing a notification of a change to an APO endpoint property.

DUMMYUNIONNAME.audioSystemEffectsPropertyChange

An AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_NOTIFICATION representing a notification of a change to an APO system effect property.

DUMMYUNIONNAME.audioEndpointVolumeChange2

DUMMYUNIONNAME.deviceOrientation

DUMMYUNIONNAME.audioMicrophoneBoostChange

Remarks

Register for the types of notifications you want to receive by implementing IAudioProcessingObjectNotifications::GetApoNotificationRegistrationInfo. Receive the registered notifications by implementing IAudioProcessingObjectNotifications::HandleNotification.

Requirements

   
Minimum supported client Windows Build 22000
Header audioengineextensionapo.h