1.1 --- a/src/audio/wasapi/SDL_wasapi.c Sat Feb 24 08:18:09 2018 -0800
1.2 +++ b/src/audio/wasapi/SDL_wasapi.c Sat Feb 24 08:23:44 2018 -0800
1.3 @@ -37,6 +37,11 @@
1.4
1.5 #include "SDL_wasapi.h"
1.6
1.7 +/* This constant isn't available on MinGW-w64 */
1.8 +#ifndef AUDCLNT_STREAMFLAGS_RATEADJUST
1.9 +#define AUDCLNT_STREAMFLAGS_RATEADJUST 0x00100000
1.10 +#endif
1.11 +
1.12 /* these increment as default devices change. Opened default devices pick up changes in their threads. */
1.13 SDL_atomic_t WASAPI_DefaultPlaybackGeneration;
1.14 SDL_atomic_t WASAPI_DefaultCaptureGeneration;