Module: wine
Branch: master
Commit: abac070387f908f853f38eddc67206ff7c657ae2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=abac070387f908f853f38edd…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Wed Jan 29 19:56:59 2020 -0600
quartz/filesource: Use a completion port to handle asynchronous requests.
Thus simplifying the code and allowing us to handle more than 63 at once.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/quartz/filesource.c | 376 ++++++++++++++++-------------------------
dlls/quartz/tests/filesource.c | 26 ++-
2 files changed, 173 insertions(+), 229 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=abac070387f908f853f3…
Module: wine
Branch: master
Commit: 1bb953c6766c9cc4372ca23a7c5b7de101324218
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1bb953c6766c9cc4372ca23a…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Date: Wed Jan 29 04:24:58 2020 +0000
include: Add xact3wb.h.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/Makefile.in | 1 +
include/xact3wb.h | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in
index 8284d6fdf3..b1e7d0084f 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -772,6 +772,7 @@ SOURCES = \
wtypes.idl \
wuapi.idl \
x3daudio.h \
+ xact3wb.h \
xapo.idl \
xapofx.h \
xaudio2.idl \
diff --git a/include/xact3wb.h b/include/xact3wb.h
new file mode 100644
index 0000000000..b4c5a53d40
--- /dev/null
+++ b/include/xact3wb.h
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2020 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef __XACT3WB_H__
+#define __XACT3WB_H__
+
+typedef union WAVEBANKMINIWAVEFORMAT
+{
+ struct
+ {
+ DWORD wFormatTag : 2;
+ DWORD nChannels : 3;
+ DWORD nSamplesPerSec : 18;
+ DWORD wBlockAlign : 8;
+ DWORD wBitsPerSample : 1;
+ } DUMMYSTRUCTNAME;
+ DWORD dwValue;
+} WAVEBANKMINIWAVEFORMAT;
+
+typedef struct WAVEBANKREGION
+{
+ DWORD dwOffset;
+ DWORD dwLength;
+} WAVEBANKREGION;
+
+typedef struct WAVEBANKSAMPLEREGION
+{
+ DWORD dwStartSample;
+ DWORD dwTotalSamples;
+} WAVEBANKSAMPLEREGION;
+
+typedef struct WAVEBANKENTRY
+{
+ union
+ {
+ struct
+ {
+ DWORD dwFlags : 4;
+ DWORD Duration : 28;
+ } DUMMYSTRUCTNAME;
+ DWORD dwFlagsAndDuration;
+ } DUMMYUNIONNAME;
+
+ WAVEBANKMINIWAVEFORMAT Format;
+ WAVEBANKREGION PlayRegion;
+ WAVEBANKSAMPLEREGION LoopRegion;
+} WAVEBANKENTRY;
+
+#endif /* __XACT3WB_H__ */