aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-15 21:47:50 -0700
committerChris Robinson <[email protected]>2011-05-15 21:47:50 -0700
commitc5fbc9f05c8de73f7999338e66c9346675e4c6fa (patch)
treef1a3fe364fc215d62745ac64e2e9f26bc43408f6 /Alc/ALc.c
parent2940b0f390ed4654780bd62f6b10764dff7613ec (diff)
Define GUIDs in ALc.c instead of the individual backend source files
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index e3974939..0b3fdbbf 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -20,6 +20,29 @@
#include "config.h"
+#ifdef HAVE_MMDEVAPI
+#define INITGUID
+#include <mmdeviceapi.h>
+#include <audioclient.h>
+#include <cguid.h>
+#include <mmreg.h>
+#ifndef _WAVEFORMATEXTENSIBLE_
+#include <ks.h>
+#include <ksmedia.h>
+#endif
+#endif
+
+#ifdef HAVE_DSOUND
+#define INITGUID
+#include <dsound.h>
+#include <cguid.h>
+#include <mmreg.h>
+#ifndef _WAVEFORMATEXTENSIBLE_
+#include <ks.h>
+#include <ksmedia.h>
+#endif
+#endif
+
#include <math.h>
#include <stdlib.h>
#include <stdio.h>