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
adc6281e
Commit
adc6281e
authored
Jan 14, 2016
by
Andrew Eikum
Committed by
Alexandre Julliard
Jan 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xapofx1_1: Use shared source.
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
80de4ba6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
100 deletions
+7
-100
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/xapofx1_1/Makefile.in
+3
-1
main.c
dlls/xapofx1_1/main.c
+0
-64
xaudio_classes.idl
dlls/xaudio2_7/xaudio_classes.idl
+0
-14
xaudio_dll.c
dlls/xaudio2_7/xaudio_dll.c
+2
-9
xapofx.h
include/xapofx.h
+0
-12
No files found.
configure
View file @
adc6281e
...
@@ -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_xapofx1_1
=
${
enable_xapofx1_1
:-
no
}
enable_xapofx1_2
=
${
enable_xapofx1_2
:-
no
}
enable_xapofx1_2
=
${
enable_xapofx1_2
:-
no
}
enable_xapofx1_3
=
${
enable_xapofx1_3
:-
no
}
enable_xapofx1_3
=
${
enable_xapofx1_3
:-
no
}
enable_xapofx1_4
=
${
enable_xapofx1_4
:-
no
}
enable_xapofx1_4
=
${
enable_xapofx1_4
:-
no
}
...
...
configure.ac
View file @
adc6281e
...
@@ -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_xapofx1_1=${enable_xapofx1_1:-no}
enable_xapofx1_2=${enable_xapofx1_2:-no}
enable_xapofx1_2=${enable_xapofx1_2:-no}
enable_xapofx1_3=${enable_xapofx1_3:-no}
enable_xapofx1_3=${enable_xapofx1_3:-no}
enable_xapofx1_4=${enable_xapofx1_4:-no}
enable_xapofx1_4=${enable_xapofx1_4:-no}
...
...
dlls/xapofx1_1/Makefile.in
View file @
adc6281e
EXTRADEFS
=
-DXAPOFX1_VER
=
1
-DXAUDIO2_VER
=
2
MODULE
=
xapofx1_1.dll
MODULE
=
xapofx1_1.dll
IMPORTS
=
ole32
IMPORTS
=
ole32
PARENTSRC
=
../xaudio2_7
C_SRCS
=
\
C_SRCS
=
\
main
.c
xapofx
.c
RC_SRCS
=
version.rc
RC_SRCS
=
version.rc
dlls/xapofx1_1/main.c
deleted
100644 → 0
View file @
80de4ba6
/*
* Copyright 2010 Louis Lenders
*
* 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 "config.h"
#include <stdarg.h>
#include "initguid.h"
#include "windef.h"
#include "winbase.h"
#include "compobj.h"
#include "xapofx.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
xapofx
);
/*****************************************************
* DllMain
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
TRACE
(
"(%p, %d, %p)
\n
"
,
hinst
,
reason
,
reserved
);
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinst
);
break
;
}
return
TRUE
;
}
HRESULT
CDECL
CreateFX
(
REFCLSID
clsid
,
IUnknown
**
out
)
{
const
GUID
*
class
=
clsid
;
TRACE
(
"%s %p
\n
"
,
debugstr_guid
(
clsid
),
out
);
if
(
IsEqualGUID
(
clsid
,
&
CLSID_FXReverb27
)
||
IsEqualGUID
(
clsid
,
&
CLSID_FXReverb
))
class
=
&
CLSID_WINE_FXReverb11
;
else
if
(
IsEqualGUID
(
clsid
,
&
CLSID_FXEQ27
)
||
IsEqualGUID
(
clsid
,
&
CLSID_FXEQ
))
class
=
&
CLSID_WINE_FXEQ11
;
return
CoCreateInstance
(
class
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IUnknown
,
(
void
**
)
out
);
}
dlls/xaudio2_7/xaudio_classes.idl
View file @
adc6281e
...
@@ -48,20 +48,6 @@ coclass AudioReverb { interface IUnknown; }
...
@@ -48,20 +48,6 @@ coclass AudioReverb { interface IUnknown; }
uuid
(
962
f5027
-
99b
e
-
4692
-
a468
-
85802
cf8de61
)
uuid
(
962
f5027
-
99b
e
-
4692
-
a468
-
85802
cf8de61
)
]
]
coclass
XACT31
{
interface
IUnknown
; }
coclass
XACT31
{
interface
IUnknown
; }
[
helpstring
(
"XAPOFX1.1 FXReverb Class (Wine)"
),
threading
(
both
),
uuid
(
a90bc001
-
e897
-
e897
-
7439
-
43
FF02000101
)
]
coclass
FXReverb11
{
interface
IXAPO
; }
[
helpstring
(
"XAPOFX1.1 FXEQ Class (Wine)"
),
threading
(
both
),
uuid
(
a90bc001
-
e897
-
e897
-
7439
-
43
FF00000101
)
]
coclass
FXEQ11
{
interface
IXAPO
; }
#
endif
/*
XAUDIO2_VER
==
7
*/
#
endif
/*
XAUDIO2_VER
==
7
*/
#
if
XAUDIO2_VER
==
6
#
if
XAUDIO2_VER
==
6
...
...
dlls/xaudio2_7/xaudio_dll.c
View file @
adc6281e
...
@@ -2045,12 +2045,10 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
...
@@ -2045,12 +2045,10 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb20
)){
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb20
)){
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
20
);
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
20
);
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb21
)
||
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb21
)){
IsEqualGUID
(
rclsid
,
&
CLSID_WINE_FXReverb10
)){
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
21
);
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
21
);
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb22
)
||
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb22
)){
IsEqualGUID
(
rclsid
,
&
CLSID_WINE_FXReverb11
)){
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
22
);
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
22
);
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb23
)){
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb23
)){
...
@@ -2067,11 +2065,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
...
@@ -2067,11 +2065,6 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb27
)){
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_AudioReverb27
)){
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
27
);
factory
=
make_xapo_factory
(
&
CLSID_AudioReverb27
,
27
);
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_WINE_FXEQ10
)){
factory
=
make_xapo_factory
(
&
CLSID_FXEQ
,
21
);
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_WINE_FXEQ11
)){
factory
=
make_xapo_factory
(
&
CLSID_FXEQ
,
22
);
}
}
if
(
!
factory
)
return
CLASS_E_CLASSNOTAVAILABLE
;
if
(
!
factory
)
return
CLASS_E_CLASSNOTAVAILABLE
;
...
...
include/xapofx.h
View file @
adc6281e
...
@@ -25,32 +25,20 @@
...
@@ -25,32 +25,20 @@
DEFINE_GUID
(
CLSID_FXEQ27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x00
);
DEFINE_GUID
(
CLSID_FXEQ27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x00
);
/* xaudio >= 2.8 */
/* xaudio >= 2.8 */
DEFINE_GUID
(
CLSID_FXEQ
,
0xf5e01117
,
0xd6c4
,
0x485a
,
0xa3
,
0xf5
,
0x69
,
0x51
,
0x96
,
0xf3
,
0xdb
,
0xfa
);
DEFINE_GUID
(
CLSID_FXEQ
,
0xf5e01117
,
0xd6c4
,
0x485a
,
0xa3
,
0xf5
,
0x69
,
0x51
,
0x96
,
0xf3
,
0xdb
,
0xfa
);
/* wine internal */
DEFINE_GUID
(
CLSID_WINE_FXEQ10
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x00
,
0x00
,
0x01
,
0x00
);
DEFINE_GUID
(
CLSID_WINE_FXEQ11
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x00
,
0x00
,
0x01
,
0x01
);
/* xapofx 1.0 through 1.5 */
/* xapofx 1.0 through 1.5 */
DEFINE_GUID
(
CLSID_FXMasteringLimiter27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x01
);
DEFINE_GUID
(
CLSID_FXMasteringLimiter27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x01
);
/* xaudio >= 2.8 */
/* xaudio >= 2.8 */
DEFINE_GUID
(
CLSID_FXMasteringLimiter
,
0xc4137916
,
0x2be1
,
0x46fd
,
0x85
,
0x99
,
0x44
,
0x15
,
0x36
,
0xf4
,
0x98
,
0x56
);
DEFINE_GUID
(
CLSID_FXMasteringLimiter
,
0xc4137916
,
0x2be1
,
0x46fd
,
0x85
,
0x99
,
0x44
,
0x15
,
0x36
,
0xf4
,
0x98
,
0x56
);
/* wine internal */
DEFINE_GUID
(
CLSID_WINE_FXMasteringLimiter10
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x01
,
0x00
,
0x01
,
0x00
);
DEFINE_GUID
(
CLSID_WINE_FXMasteringLimiter11
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x01
,
0x00
,
0x01
,
0x01
);
/* xapofx 1.0 through 1.5 */
/* xapofx 1.0 through 1.5 */
DEFINE_GUID
(
CLSID_FXReverb27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x02
);
DEFINE_GUID
(
CLSID_FXReverb27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x02
);
/* xaudio >= 2.8 */
/* xaudio >= 2.8 */
DEFINE_GUID
(
CLSID_FXReverb
,
0x7d9aca56
,
0xcb68
,
0x4807
,
0xb6
,
0x32
,
0xb1
,
0x37
,
0x35
,
0x2e
,
0x85
,
0x96
);
DEFINE_GUID
(
CLSID_FXReverb
,
0x7d9aca56
,
0xcb68
,
0x4807
,
0xb6
,
0x32
,
0xb1
,
0x37
,
0x35
,
0x2e
,
0x85
,
0x96
);
/* wine internal */
DEFINE_GUID
(
CLSID_WINE_FXReverb10
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x02
,
0x00
,
0x01
,
0x00
);
DEFINE_GUID
(
CLSID_WINE_FXReverb11
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x02
,
0x00
,
0x01
,
0x01
);
/* xapofx 1.0 through 1.5 */
/* xapofx 1.0 through 1.5 */
DEFINE_GUID
(
CLSID_FXEcho27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x03
);
DEFINE_GUID
(
CLSID_FXEcho27
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0x55
,
0x00
,
0x00
,
0x00
,
0x03
);
/* xaudio >= 2.8 */
/* xaudio >= 2.8 */
DEFINE_GUID
(
CLSID_FXEcho
,
0x5039d740
,
0xf736
,
0x449a
,
0x84
,
0xd3
,
0xa5
,
0x62
,
0x02
,
0x55
,
0x7b
,
0x87
);
DEFINE_GUID
(
CLSID_FXEcho
,
0x5039d740
,
0xf736
,
0x449a
,
0x84
,
0xd3
,
0xa5
,
0x62
,
0x02
,
0x55
,
0x7b
,
0x87
);
/* wine internal */
DEFINE_GUID
(
CLSID_WINE_FXEcho10
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x03
,
0x00
,
0x01
,
0x00
);
DEFINE_GUID
(
CLSID_WINE_FXEcho11
,
0xa90bc001
,
0xe897
,
0xe897
,
0x74
,
0x39
,
0x43
,
0xFF
,
0x03
,
0x00
,
0x01
,
0x01
);
#endif
#endif
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