[Win] Compile fix, the mmdeviceapi.h header can only be included once

Change-Id: Idb9a995c90e6e0e8be392022e2a76b4d8fea853a
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
This commit is contained in:
Andy Shaw
2016-02-15 12:19:24 +01:00
committed by Jani Heikkinen
parent d633c02ce2
commit 241444eab7
2 changed files with 2 additions and 1 deletions

View File

@@ -34,6 +34,8 @@
#include "QtCore/qdebug.h" #include "QtCore/qdebug.h"
#include "mfaudioendpointcontrol.h" #include "mfaudioendpointcontrol.h"
#include <mmdeviceapi.h>
MFAudioEndpointControl::MFAudioEndpointControl(QObject *parent) MFAudioEndpointControl::MFAudioEndpointControl(QObject *parent)
: QAudioOutputSelectorControl(parent) : QAudioOutputSelectorControl(parent)
, m_currentActivate(0) , m_currentActivate(0)

View File

@@ -36,7 +36,6 @@
#include <mfapi.h> #include <mfapi.h>
#include <mfidl.h> #include <mfidl.h>
#include <mmdeviceapi.h>
#include "qaudiooutputselectorcontrol.h" #include "qaudiooutputselectorcontrol.h"