Hello,

this is needed by ppsspp.

Best regards
Oleg Tolmatcev
From 4a3de00359fe96d39df5490b3e7eed046e8bbd11 Mon Sep 17 00:00:00 2001
From: Oleg Tolmatcev <[email protected]>
Date: Sat, 30 Sep 2023 00:20:13 +0200
Subject: [PATCH] headers: add LPCWAVEFORMATEX in dsound.h

---
 mingw-w64-headers/include/dsound.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mingw-w64-headers/include/dsound.h 
b/mingw-w64-headers/include/dsound.h
index 58fb907e..57f72e75 100644
--- a/mingw-w64-headers/include/dsound.h
+++ b/mingw-w64-headers/include/dsound.h
@@ -541,6 +541,11 @@ typedef const DSFXI3DL2Reverb *LPCDSFXI3DL2Reverb;
 #define DSCBSTATUS_CAPTURING        0x00000001
 #define DSCBSTATUS_LOOPING          0x00000002
 
+#ifndef _LPCWAVEFORMATEX_DEFINED
+#define _LPCWAVEFORMATEX_DEFINED
+typedef const WAVEFORMATEX *LPCWAVEFORMATEX;
+#endif /* _LPCWAVEFORMATEX_DEFINED */
+
 #ifndef __LPCGUID_DEFINED__
 #define __LPCGUID_DEFINED__
 typedef const GUID *LPCGUID;
-- 
2.41.0.windows.1

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to