extras/audio: Tweaked EcereAudio to get it to compile
authorJerome St-Louis <jerome@ecere.com>
Fri, 19 Aug 2011 05:54:28 +0000 (01:54 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 19 Aug 2011 05:54:28 +0000 (01:54 -0400)
deps/DirectX-9.0/include/dsound.h
extras/audio/EcereAudio.epj
extras/audio/dsound.ec

index 48d270e..57457bc 100644 (file)
@@ -234,7 +234,7 @@ typedef struct IDirectSoundCaptureFXNoiseSuppress8 *LPDIRECTSOUNDCAPTUREFXNOISES
 
 #ifndef __LPCGUID_DEFINED__
 #define __LPCGUID_DEFINED__
-typedef const GUID *LPCGUID;
+//typedef const GUID *LPCGUID;
 #endif // __LPCGUID_DEFINED__
 
 typedef LPDIRECTSOUND *LPLPDIRECTSOUND;
index 4a2664d..0573db1 100644 (file)
          "Name" : "Release",
          "Options" : {
             "Debug" : false,
-            "Optimization" : "Speed"
+            "Optimization" : "Speed",
+            "IncludeDirs" : [
+               "../../deps/DirectX-9.0/include"
+            ]
          }
       }
    ],
index 46289e8..0521c47 100644 (file)
@@ -6,11 +6,13 @@
 #define int64 _int64
 #define WIN32_LEAN_AND_MEAN
 #define MessageBox _MessageBox
+#define Array _Array
 
 #include <windows.h>
 
 #include <mmsystem.h>
 #include <dsound.h>
+#undef Array
 #undef MessageBox
 #undef byte
 #undef Method