From: Marcus Tomlinson Date: Fri, 28 Sep 2018 21:56:08 +0000 (+0100) Subject: More fixes to MinGW build X-Git-Tag: 5.1.0~49 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=0a5295596bc2d35fc4434a2304e72ad7576a4178;p=rtaudio.git More fixes to MinGW build --- 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