Nikolay Sivov : mfplat: Add MECapture* events to tracing.

Alexandre Julliard julliard at winehq.org
Thu Jan 13 16:26:40 CST 2022


Module: wine
Branch: master
Commit: cb41e4b1753891f5aa22cb617e8dd124c3dd8983
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cb41e4b1753891f5aa22cb617e8dd124c3dd8983

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Jan 13 13:03:14 2022 +0300

mfplat: Add MECapture* events to tracing.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mfplat/main.c    | 6 ++++++
 include/mfobjects.idl | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index 978340a7ece..f36c960f852 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -2134,6 +2134,12 @@ static const char *debugstr_eventid(DWORD event)
         X(MEAudioSessionFormatChanged),
         X(MEAudioSessionDisconnected),
         X(MEAudioSessionExclusiveModeOverride),
+        X(MECaptureAudioSessionVolumeChanged),
+        X(MECaptureAudioSessionDeviceRemoved),
+        X(MECaptureAudioSessionFormatChanged),
+        X(MECaptureAudioSessionDisconnected),
+        X(MECaptureAudioSessionExclusiveModeOverride),
+        X(MECaptureAudioSessionServerShutdown),
         X(METrustUnknown),
         X(MEPolicyChanged),
         X(MEContentProtectionMessage),
diff --git a/include/mfobjects.idl b/include/mfobjects.idl
index b2d0e5d06ec..640cae88af6 100644
--- a/include/mfobjects.idl
+++ b/include/mfobjects.idl
@@ -579,6 +579,13 @@ enum {
     MEAudioSessionDisconnected = 320,
     MEAudioSessionExclusiveModeOverride = 321,
     MESinkV1Anchor = MEAudioSessionExclusiveModeOverride,
+    MECaptureAudioSessionVolumeChanged = 322,
+    MECaptureAudioSessionDeviceRemoved = 323,
+    MECaptureAudioSessionFormatChanged = 324,
+    MECaptureAudioSessionDisconnected = 325,
+    MECaptureAudioSessionExclusiveModeOverride = 326,
+    MECaptureAudioSessionServerShutdown = 327,
+    MESinkV2Anchor = MECaptureAudioSessionServerShutdown,
     METrustUnknown = 400,
     MEPolicyChanged = 401,
     MEContentProtectionMessage = 402,




More information about the wine-cvs mailing list