summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@theqtcompany.com>2016-02-15 12:19:24 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2016-02-15 12:34:52 +0000
commit241444eab724ba0cb4fa142c5ccb02243b6f2dc2 (patch)
tree638421c98fb121e5d5c3d184bed8c16923574a39 /src
parentd633c02ce21b4b5aa9d9877c9424fcc0f363aa6b (diff)
downloadqtmultimedia-241444eab724ba0cb4fa142c5ccb02243b6f2dc2.tar.gz
[Win] Compile fix, the mmdeviceapi.h header can only be included oncev5.6.0-rc1
Change-Id: Idb9a995c90e6e0e8be392022e2a76b4d8fea853a Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/wmf/player/mfaudioendpointcontrol.cpp2
-rw-r--r--src/plugins/wmf/player/mfaudioendpointcontrol.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/wmf/player/mfaudioendpointcontrol.cpp b/src/plugins/wmf/player/mfaudioendpointcontrol.cpp
index 7178a75c1..939b98f0d 100644
--- a/src/plugins/wmf/player/mfaudioendpointcontrol.cpp
+++ b/src/plugins/wmf/player/mfaudioendpointcontrol.cpp
@@ -34,6 +34,8 @@
#include "QtCore/qdebug.h"
#include "mfaudioendpointcontrol.h"
+#include <mmdeviceapi.h>
+
MFAudioEndpointControl::MFAudioEndpointControl(QObject *parent)
: QAudioOutputSelectorControl(parent)
, m_currentActivate(0)
diff --git a/src/plugins/wmf/player/mfaudioendpointcontrol.h b/src/plugins/wmf/player/mfaudioendpointcontrol.h
index d0186a4ac..18791e1c3 100644
--- a/src/plugins/wmf/player/mfaudioendpointcontrol.h
+++ b/src/plugins/wmf/player/mfaudioendpointcontrol.h
@@ -36,7 +36,6 @@
#include <mfapi.h>
#include <mfidl.h>
-#include <mmdeviceapi.h>
#include "qaudiooutputselectorcontrol.h"