Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a6126ea2
Commit
a6126ea2
authored
Jan 12, 2016
by
Andrew Eikum
Committed by
Alexandre Julliard
Jan 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xaudio2_0: Use shared source.
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
719d2263
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
98 deletions
+32
-98
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/xaudio2_0/Makefile.in
+6
-1
xaudio2_0.spec
dlls/xaudio2_0/xaudio2_0.spec
+1
-1
xaudio_classes.idl
dlls/xaudio2_0/xaudio_classes.idl
+0
-42
xaudio_dll.c
dlls/xaudio2_0/xaudio_dll.c
+0
-54
xaudio_classes.idl
dlls/xaudio2_7/xaudio_classes.idl
+23
-0
No files found.
configure
View file @
a6126ea2
...
@@ -13719,6 +13719,7 @@ fi
...
@@ -13719,6 +13719,7 @@ fi
if
test
"x
$ac_cv_have_openalsoft
"
!=
xyes
if
test
"x
$ac_cv_have_openalsoft
"
!=
xyes
then
then
as_fn_append wine_notices
"|openal-soft
${
notice_platform
}
development files not found (or too old), XAudio2 won't be supported"
as_fn_append wine_notices
"|openal-soft
${
notice_platform
}
development files not found (or too old), XAudio2 won't be supported"
enable_xaudio2_0
=
${
enable_xaudio2_0
:-
no
}
enable_xaudio2_1
=
${
enable_xaudio2_1
:-
no
}
enable_xaudio2_1
=
${
enable_xaudio2_1
:-
no
}
enable_xaudio2_2
=
${
enable_xaudio2_2
:-
no
}
enable_xaudio2_2
=
${
enable_xaudio2_2
:-
no
}
enable_xaudio2_3
=
${
enable_xaudio2_3
:-
no
}
enable_xaudio2_3
=
${
enable_xaudio2_3
:-
no
}
...
...
configure.ac
View file @
a6126ea2
...
@@ -1662,6 +1662,7 @@ fi
...
@@ -1662,6 +1662,7 @@ fi
if test "x$ac_cv_have_openalsoft" != xyes
if test "x$ac_cv_have_openalsoft" != xyes
then
then
WINE_NOTICE([openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported])
WINE_NOTICE([openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported])
enable_xaudio2_0=${enable_xaudio2_0:-no}
enable_xaudio2_1=${enable_xaudio2_1:-no}
enable_xaudio2_1=${enable_xaudio2_1:-no}
enable_xaudio2_2=${enable_xaudio2_2:-no}
enable_xaudio2_2=${enable_xaudio2_2:-no}
enable_xaudio2_3=${enable_xaudio2_3:-no}
enable_xaudio2_3=${enable_xaudio2_3:-no}
...
...
dlls/xaudio2_0/Makefile.in
View file @
a6126ea2
EXTRADEFS
=
-DXAUDIO2_VER
=
0
MODULE
=
xaudio2_0.dll
MODULE
=
xaudio2_0.dll
IMPORTS
=
ole32
IMPORTS
=
advapi32 kernel32 ole32 user32 uuid
EXTRALIBS
=
$(OPENAL_LIBS)
PARENTSRC
=
../xaudio2_7
C_SRCS
=
\
C_SRCS
=
\
compat.c
\
xapofx.c
\
xaudio_dll.c
xaudio_dll.c
IDL_SRCS
=
xaudio_classes.idl
IDL_SRCS
=
xaudio_classes.idl
dlls/xaudio2_0/xaudio2_0.spec
View file @
a6126ea2
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
xaudio2_7.DllGetClassObject
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
@ stdcall -private DllUnregisterServer()
dlls/xaudio2_0/xaudio_classes.idl
deleted
100644 → 0
View file @
719d2263
/*
*
COM
Classes
for
xaudio
*
*
Copyright
2015
Andrew
Eikum
for
CodeWeavers
*
*
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.0 Class"
),
threading
(
both
),
uuid
(
fac23f48
-
31
f5
-
45
a8
-
b49b
-
5225
d61401aa
)
]
coclass
XAudio20
{
interface
IXAudio20
; }
[
helpstring
(
"XAudio2.0 AudioReverb Class"
),
threading
(
both
),
uuid
(
6
f6ea3a9
-
2
cf5
-
41
cf
-
91
c1
-
2170b1540063
)
]
coclass
AudioReverb20
{
interface
IXAPO
; }
[
helpstring
(
"XAudio2.0 AudioVolumeMeter Class"
),
threading
(
both
),
uuid
(
c0c56f46
-
29b1
-
44
e9
-
9939
-
a32ce86867e2
)
]
coclass
AudioVolumeMeter20
{
interface
IXAPO
; }
dlls/xaudio2_0/xaudio_dll.c
deleted
100644 → 0
View file @
719d2263
/*
* Copyright (c) 2015 Andrew Eikum for CodeWeavers
*
* 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
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "rpcproxy.h"
static
HINSTANCE
instance
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstance
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
break
;
}
return
TRUE
;
}
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
instance
);
}
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
instance
);
}
dlls/xaudio2_7/xaudio_classes.idl
View file @
a6126ea2
...
@@ -257,3 +257,26 @@ coclass AudioReverb21 { interface IXAPO; }
...
@@ -257,3 +257,26 @@ coclass AudioReverb21 { interface IXAPO; }
]
]
coclass
AudioVolumeMeter21
{
interface
IXAPO
; }
coclass
AudioVolumeMeter21
{
interface
IXAPO
; }
#
endif
/*
XAUDIO2_VER
==
1
*/
#
endif
/*
XAUDIO2_VER
==
1
*/
#
if
XAUDIO2_VER
==
0
[
helpstring
(
"XAudio2.0 Class"
),
threading
(
both
),
uuid
(
fac23f48
-
31
f5
-
45
a8
-
b49b
-
5225
d61401aa
)
]
coclass
XAudio20
{
interface
IXAudio20
; }
[
helpstring
(
"XAudio2.0 AudioReverb Class"
),
threading
(
both
),
uuid
(
6
f6ea3a9
-
2
cf5
-
41
cf
-
91
c1
-
2170b1540063
)
]
coclass
AudioReverb20
{
interface
IXAPO
; }
[
helpstring
(
"XAudio2.0 AudioVolumeMeter Class"
),
threading
(
both
),
uuid
(
c0c56f46
-
29b1
-
44
e9
-
9939
-
a32ce86867e2
)
]
coclass
AudioVolumeMeter20
{
interface
IXAPO
; }
#
endif
/*
XAUDIO2_VER
==
0
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment