Guillaume Charifi : xaudio2_7: Add XAudio2 class registration.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jun 11 09:46:12 CDT 2015


Module: wine
Branch: master
Commit: cd906f08cd5d75b2dba9e2f18166f6fb90848c12
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cd906f08cd5d75b2dba9e2f18166f6fb90848c12

Author: Guillaume Charifi <guillaume.charifi at sfr.fr>
Date:   Tue Jun  9 10:49:51 2015 +0200

xaudio2_7: Add XAudio2 class registration.

---

 configure                         |  2 +-
 configure.ac                      |  2 +-
 dlls/xaudio2_7/Makefile.in        |  2 ++
 dlls/xaudio2_7/xaudio_classes.idl | 28 ++++++++++++++++++++++++++++
 4 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index fa52cf7..e51ee56 100755
--- a/configure
+++ b/configure
@@ -17732,7 +17732,7 @@ wine_fn_config_dll xapofx1_1 enable_xapofx1_1
 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
-wine_fn_config_dll xaudio2_7 enable_xaudio2_7
+wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
 wine_fn_config_dll xinput1_1 enable_xinput1_1
 wine_fn_config_dll xinput1_2 enable_xinput1_2
 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
diff --git a/configure.ac b/configure.ac
index 79110c1..df28b27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3420,7 +3420,7 @@ WINE_CONFIG_DLL(xapofx1_1)
 WINE_CONFIG_DLL(xapofx1_3)
 WINE_CONFIG_DLL(xapofx1_4)
 WINE_CONFIG_DLL(xapofx1_5)
-WINE_CONFIG_DLL(xaudio2_7)
+WINE_CONFIG_DLL(xaudio2_7,,[clean])
 WINE_CONFIG_DLL(xinput1_1)
 WINE_CONFIG_DLL(xinput1_2)
 WINE_CONFIG_DLL(xinput1_3,,[implib],[xinput])
diff --git a/dlls/xaudio2_7/Makefile.in b/dlls/xaudio2_7/Makefile.in
index 853d1d6..6bdf362 100644
--- a/dlls/xaudio2_7/Makefile.in
+++ b/dlls/xaudio2_7/Makefile.in
@@ -3,3 +3,5 @@ IMPORTS   = advapi32 kernel32 ole32 user32 uuid
 
 C_SRCS = \
 	xaudio_dll.c
+
+IDL_SRCS = xaudio_classes.idl
diff --git a/dlls/xaudio2_7/xaudio_classes.idl b/dlls/xaudio2_7/xaudio_classes.idl
new file mode 100644
index 0000000..79bc7a4
--- /dev/null
+++ b/dlls/xaudio2_7/xaudio_classes.idl
@@ -0,0 +1,28 @@
+/*
+ * COM Classes for xaudio
+ *
+ * Copyright 2015 Guillaume Charifi
+ *
+ * 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
+ */
+
+#pragma makedep register
+
+[
+    helpstring("XAudio2 Class"),
+    threading(both),
+    uuid(5a508685-a254-4fba-9b82-9a24b00306af)
+]
+coclass XAudio2 { interface IXAudio2; }




More information about the wine-cvs mailing list