Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Spécifie le type d’un APO_NOTIFICATION.
Syntax
typedef enum APO_NOTIFICATION_TYPE {
APO_NOTIFICATION_TYPE_NONE = 0,
APO_NOTIFICATION_TYPE_ENDPOINT_VOLUME = 1,
APO_NOTIFICATION_TYPE_ENDPOINT_PROPERTY_CHANGE = 2,
APO_NOTIFICATION_TYPE_SYSTEM_EFFECTS_PROPERTY_CHANGE = 3,
APO_NOTIFICATION_TYPE_ENDPOINT_VOLUME2 = 4,
APO_NOTIFICATION_TYPE_DEVICE_ORIENTATION = 5,
APO_NOTIFICATION_TYPE_MICROPHONE_BOOST = 6,
APO_NOTIFICATION_TYPE_AUDIO_ENVIRONMENT_STATE_CHANGE
} ;
Constantes
APO_NOTIFICATION_TYPE_NONEValeur : 0 Aucun. |
APO_NOTIFICATION_TYPE_ENDPOINT_VOLUMEValeur : 1 Notification du volume de point de terminaison. La structure AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION transmet les données pour cette notification. |
APO_NOTIFICATION_TYPE_ENDPOINT_PROPERTY_CHANGEValeur : 2 Notification de modification de propriété de point de terminaison. La structure AUDIO_ENDPOINT_PROPERTY_CHANGE_NOTIFICATION transmet les données pour cette notification. |
APO_NOTIFICATION_TYPE_SYSTEM_EFFECTS_PROPERTY_CHANGEValeur : 3 Notification de modification de propriété d’effets système. La structure AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_NOTIFICATION transmet les données pour cette notification. |
APO_NOTIFICATION_TYPE_ENDPOINT_VOLUME2Valeur : 4 Notification de volume de point de terminaison pour un point de terminaison qui inclut master et le volume de canal, en dB. La structure AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION2 transmet les données pour cette notification. |
APO_NOTIFICATION_TYPE_DEVICE_ORIENTATIONValeur : 5 Afficher la notification d’orientation pour l’appareil. L’énumération DEVICE_ORIENTATION_TYPE transmet des données pour cette notification. |
APO_NOTIFICATION_TYPE_MICROPHONE_BOOSTValeur : 6 Notification d’augmentation du microphone. La structure AUDIO_MICROPHONE_BOOST_NOTIFICATION transmet les données pour cette notification. |
APO_NOTIFICATION_TYPE_AUDIO_ENVIRONMENT_STATE_CHANGENotification de modification de l’état de l’environnement audio. La structure AUDIO_ENVIRONMENT_STATE_CHANGE_NOTIFICATION transmet les données pour cette notification. |
Remarques
Les clients utilisent cette énumération pour spécifier les types de notification demandés dans leurs implémentations de IAudioProcessingObjectNotifications2 ::GetApoNotificationRegistrationInfo2 et IAudioProcessingObjectNotifications ::GetApoNotificationRegistrationInfo.
La structure APO_NOTIFICATION passée dans HandleNotification contient une structure différente dans son champ d’union en fonction du type de notification déclenché. Pour plus d’informations, consultez structure APO_NOTIFICATION.
Pour plus d’informations sur les API Windows 11 pour les objets de traitement audio (API) qui peuvent être fournis avec des pilotes audio, consultez Windows 11 API pour les objets de traitement audio.
Configuration requise
| Condition requise | Valeur |
|---|---|
| Client minimal pris en charge | Windows Build 22000 |
| En-tête | audioengineextensionapo.h |