Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f9860002
Commit
f9860002
authored
Oct 26, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
Oct 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xaudio2_8: Add 3D audio function stubs.
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dd2c1446
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
55 additions
and
52 deletions
+55
-52
configure
configure
+2
-2
configure.ac
configure.ac
+2
-2
x3daudio1_0.spec
dlls/x3daudio1_0/x3daudio1_0.spec
+2
-2
x3daudio1_1.spec
dlls/x3daudio1_1/x3daudio1_1.spec
+2
-2
x3daudio1_2.spec
dlls/x3daudio1_2/x3daudio1_2.spec
+2
-2
x3daudio1_3.spec
dlls/x3daudio1_3/x3daudio1_3.spec
+2
-2
x3daudio1_4.spec
dlls/x3daudio1_4/x3daudio1_4.spec
+2
-2
x3daudio1_5.spec
dlls/x3daudio1_5/x3daudio1_5.spec
+2
-2
Makefile.in
dlls/x3daudio1_6/Makefile.in
+0
-1
main.c
dlls/x3daudio1_6/main.c
+0
-7
x3daudio1_6.spec
dlls/x3daudio1_6/x3daudio1_6.spec
+2
-2
Makefile.in
dlls/x3daudio1_7/Makefile.in
+1
-1
main.c
dlls/x3daudio1_7/main.c
+3
-23
x3daudio1_7.spec
dlls/x3daudio1_7/x3daudio1_7.spec
+2
-2
Makefile.in
dlls/xaudio2_8/Makefile.in
+1
-0
xaudio2_8.spec
dlls/xaudio2_8/xaudio2_8.spec
+2
-0
xaudio_dll.c
dlls/xaudio2_8/xaudio_dll.c
+28
-0
No files found.
configure
View file @
f9860002
...
...
@@ -18000,7 +18000,7 @@ wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
implib
wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
wine_fn_config_dll xapofx1_1 enable_xapofx1_1
wine_fn_config_dll xapofx1_2 enable_xapofx1_2
wine_fn_config_dll xapofx1_3 enable_xapofx1_3
...
...
@@ -18015,7 +18015,7 @@ wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
wine_fn_config_dll xaudio2_8 enable_xaudio2_8
wine_fn_config_dll xaudio2_8 enable_xaudio2_8
implib
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
...
...
configure.ac
View file @
f9860002
...
...
@@ -3473,7 +3473,7 @@ WINE_CONFIG_DLL(x3daudio1_3)
WINE_CONFIG_DLL(x3daudio1_4)
WINE_CONFIG_DLL(x3daudio1_5)
WINE_CONFIG_DLL(x3daudio1_6)
WINE_CONFIG_DLL(x3daudio1_7
,,[implib]
)
WINE_CONFIG_DLL(x3daudio1_7)
WINE_CONFIG_DLL(xapofx1_1)
WINE_CONFIG_DLL(xapofx1_2)
WINE_CONFIG_DLL(xapofx1_3)
...
...
@@ -3488,7 +3488,7 @@ WINE_CONFIG_DLL(xaudio2_5,,[clean])
WINE_CONFIG_DLL(xaudio2_6,,[clean])
WINE_CONFIG_DLL(xaudio2_7,,[clean])
WINE_CONFIG_TEST(dlls/xaudio2_7/tests)
WINE_CONFIG_DLL(xaudio2_8)
WINE_CONFIG_DLL(xaudio2_8
,,[implib]
)
WINE_CONFIG_DLL(xinput1_1)
WINE_CONFIG_DLL(xinput1_2)
WINE_CONFIG_DLL(xinput1_3,,[implib],[xinput])
...
...
dlls/x3daudio1_0/x3daudio1_0.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
3daudio1_6
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
6
.X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
audio2_8
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
7
.X3DAudioInitialize
dlls/x3daudio1_1/x3daudio1_1.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
3daudio1_6
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
6
.X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
audio2_8
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
7
.X3DAudioInitialize
dlls/x3daudio1_2/x3daudio1_2.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
3daudio1_6
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
6
.X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
audio2_8
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
7
.X3DAudioInitialize
dlls/x3daudio1_3/x3daudio1_3.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
3daudio1_6
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
6
.X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
audio2_8
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
7
.X3DAudioInitialize
dlls/x3daudio1_4/x3daudio1_4.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
3daudio1_6
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
6
.X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
audio2_8
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
7
.X3DAudioInitialize
dlls/x3daudio1_5/x3daudio1_5.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
3daudio1_6
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
6
.X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
audio2_8
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) x3daudio1_
7
.X3DAudioInitialize
dlls/x3daudio1_6/Makefile.in
View file @
f9860002
MODULE
=
x3daudio1_6.dll
IMPORTS
=
x3daudio1_7
C_SRCS
=
\
main.c
dlls/x3daudio1_6/main.c
View file @
f9860002
...
...
@@ -40,10 +40,3 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
void
CDECL
X3DA16_X3DAudioInitialize
(
UINT32
chanmask
,
float
speedofsound
,
X3DAUDIO_HANDLE
handle
)
{
/* forward to 1.7 */
X3DAudioInitialize
(
chanmask
,
speedofsound
,
handle
);
}
dlls/x3daudio1_6/x3daudio1_6.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
3daudio1_7
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr)
X3DA16_
X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr) x
audio2_8
.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr)
x3daudio1_7.
X3DAudioInitialize
dlls/x3daudio1_7/Makefile.in
View file @
f9860002
MODULE
=
x3daudio1_7.dll
IMPORT
LIB
=
x3daudio1_7
IMPORT
S
=
xaudio2_8
C_SRCS
=
\
main.c
dlls/x3daudio1_7/main.c
View file @
f9860002
...
...
@@ -40,29 +40,9 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return
TRUE
;
}
HRESULT
CDECL
X3DAudioInitialize
(
UINT32
chanmask
,
float
speedofsound
,
void
CDECL
X3DA17_
X3DAudioInitialize
(
UINT32
chanmask
,
float
speedofsound
,
X3DAUDIO_HANDLE
handle
)
{
FIXME
(
"0x%x, %f, %p: Stub!
\n
"
,
chanmask
,
speedofsound
,
handle
);
return
S_OK
;
}
void
CDECL
X3DAudioCalculate
(
const
X3DAUDIO_HANDLE
handle
,
const
X3DAUDIO_LISTENER
*
listener
,
const
X3DAUDIO_EMITTER
*
emitter
,
UINT32
flags
,
X3DAUDIO_DSP_SETTINGS
*
out
)
{
static
int
once
=
0
;
if
(
!
once
){
FIXME
(
"%p %p %p 0x%x %p: Stub!
\n
"
,
handle
,
listener
,
emitter
,
flags
,
out
);
++
once
;
}
out
->
LPFDirectCoefficient
=
0
;
out
->
LPFReverbCoefficient
=
0
;
out
->
ReverbLevel
=
0
;
out
->
DopplerFactor
=
1
;
out
->
EmitterToListenerAngle
=
0
;
out
->
EmitterToListenerDistance
=
0
;
out
->
EmitterVelocityComponent
=
0
;
out
->
ListenerVelocityComponent
=
0
;
/* forward to xaudio2_8 */
X3DAudioInitialize
(
chanmask
,
speedofsound
,
handle
);
}
dlls/x3daudio1_7/x3daudio1_7.spec
View file @
f9860002
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
@ cdecl X3DAudioInitialize(long float ptr)
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
xaudio2_8.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr)
X3DA17_X3DAudioInitialize
dlls/xaudio2_8/Makefile.in
View file @
f9860002
MODULE
=
xaudio2_8.dll
IMPORTLIB
=
xaudio2_8
IMPORTS
=
ole32
C_SRCS
=
\
...
...
dlls/xaudio2_8/xaudio2_8.spec
View file @
f9860002
...
...
@@ -2,3 +2,5 @@
@ stdcall CreateAudioVolumeMeter(ptr)
@ stdcall CreateAudioReverb(ptr)
@ cdecl CreateFX(ptr ptr ptr long)
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
@ cdecl X3DAudioInitialize(long float ptr)
dlls/xaudio2_8/xaudio_dll.c
View file @
f9860002
...
...
@@ -30,6 +30,7 @@
#include "xaudio2fx.h"
#include "xapo.h"
#include "xapofx.h"
#include "x3daudio.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
xaudio2
);
...
...
@@ -130,3 +131,30 @@ HRESULT CDECL CreateFX(REFCLSID clsid, IUnknown **out, void *initdata, UINT32 in
return
S_OK
;
}
HRESULT
CDECL
X3DAudioInitialize
(
UINT32
chanmask
,
float
speedofsound
,
X3DAUDIO_HANDLE
handle
)
{
FIXME
(
"0x%x, %f, %p: Stub!
\n
"
,
chanmask
,
speedofsound
,
handle
);
return
S_OK
;
}
void
CDECL
X3DAudioCalculate
(
const
X3DAUDIO_HANDLE
handle
,
const
X3DAUDIO_LISTENER
*
listener
,
const
X3DAUDIO_EMITTER
*
emitter
,
UINT32
flags
,
X3DAUDIO_DSP_SETTINGS
*
out
)
{
static
int
once
=
0
;
if
(
!
once
){
FIXME
(
"%p %p %p 0x%x %p: Stub!
\n
"
,
handle
,
listener
,
emitter
,
flags
,
out
);
++
once
;
}
out
->
LPFDirectCoefficient
=
0
;
out
->
LPFReverbCoefficient
=
0
;
out
->
ReverbLevel
=
0
;
out
->
DopplerFactor
=
1
;
out
->
EmitterToListenerAngle
=
0
;
out
->
EmitterToListenerDistance
=
0
;
out
->
EmitterVelocityComponent
=
0
;
out
->
ListenerVelocityComponent
=
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