summaryrefslogtreecommitdiff
path: root/RtAudio.cpp
diff options
context:
space:
mode:
authorMarcus Tomlinson <themarcustomlinson@gmail.com>2018-09-28 22:56:08 +0100
committerMarcus Tomlinson <themarcustomlinson@gmail.com>2018-09-28 22:56:08 +0100
commit0a5295596bc2d35fc4434a2304e72ad7576a4178 (patch)
treede5dd8ba2eedce6ee933c32a4f640f0775d07f21 /RtAudio.cpp
parent22b98e491c605cc034bb6679851db05eee1f9b52 (diff)
More fixes to MinGW build
Diffstat (limited to 'RtAudio.cpp')
-rw-r--r--RtAudio.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp
index b3192de..330ff28 100644
--- a/RtAudio.cpp
+++ b/RtAudio.cpp
@@ -3705,6 +3705,10 @@ static const char* getAsioErrorString( ASIOError result )
#define MF_E_TRANSFORM_NEED_MORE_INPUT _HRESULT_TYPEDEF_(0xc00d6d72)
#endif
+#ifndef MFSTARTUP_NOSOCKET
+ #define MFSTARTUP_NOSOCKET 0x1
+#endif
+
#ifdef _MSC_VER
#pragma comment( lib, "ksuser" )
#pragma comment( lib, "mfplat.lib" )
@@ -3907,7 +3911,7 @@ public:
{
// 1. Initialization
- MFStartup( MF_VERSION, MFSTARTUP_LITE );
+ MFStartup( MF_VERSION, MFSTARTUP_NOSOCKET );
// 2. Create Resampler Transform Object