Define GUIDs in ALc.c instead of the individual backend source files

This commit is contained in:
Chris Robinson 2011-05-15 21:47:50 -07:00
parent 2940b0f390
commit c5fbc9f05c
2 changed files with 23 additions and 1 deletions

View File

@ -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>

View File

@ -21,7 +21,6 @@
#include "config.h"
#define _WIN32_WINNT 0x0500
#define INITGUID
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>