Fix build on Windows 9x/ME

Addresses #679
This commit is contained in:
derselbst 2020-10-04 20:42:08 +02:00
parent 94dbb9601e
commit d64ab70709
2 changed files with 8 additions and 0 deletions

View file

@ -32,6 +32,10 @@
#include <dsound.h>
#include <mmreg.h>
/* Those two includes are required on Windows 9x/ME */
#include <ks.h>
#include <ksmedia.h>
static DWORD WINAPI fluid_dsound_audio_run(LPVOID lpParameter);
static char *fluid_win32_error(HRESULT hr);

View file

@ -29,6 +29,10 @@
#include <mmreg.h>
/* Those two includes are required on Windows 9x/ME */
#include <ks.h>
#include <ksmedia.h>
/* Number of buffers in the chain */
#define NB_SOUND_BUFFERS 4