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
a53a9a98
Commit
a53a9a98
authored
Oct 04, 2019
by
Rafał Mużyło
Committed by
Alexandre Julliard
Oct 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x3daudio: Fix lib exports.
Signed-off-by:
Rafał Mużyło
<
galtgendo@o2.pl
>
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2199be1c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
6 deletions
+23
-6
x3daudio1_0.spec
dlls/x3daudio1_0/x3daudio1_0.spec
+4
-2
x3daudio1_1.spec
dlls/x3daudio1_1/x3daudio1_1.spec
+4
-2
x3daudio1_2.spec
dlls/x3daudio1_2/x3daudio1_2.spec
+4
-2
x3daudio.c
dlls/xaudio2_7/x3daudio.c
+11
-0
No files found.
dlls/x3daudio1_0/x3daudio1_0.spec
View file @
a53a9a98
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
@ stdcall -arch=i386 _X3DAudioCalculate@20(ptr ptr ptr long ptr) LEGACY_X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) LEGACY_X3DAudioInitialize
@ stdcall -arch=i386 _X3DAudioInitialize@12(long float ptr) LEGACY_X3DAudioInitialize
@ stdcall -arch=!i386 X3DAudioCalculate(ptr ptr ptr long ptr) LEGACY_X3DAudioCalculate
@ stdcall -arch=!i386 X3DAudioInitialize(long float ptr) LEGACY_X3DAudioInitialize
dlls/x3daudio1_1/x3daudio1_1.spec
View file @
a53a9a98
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
@ stdcall -arch=i386 _X3DAudioCalculate@20(ptr ptr ptr long ptr) LEGACY_X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) LEGACY_X3DAudioInitialize
@ stdcall -arch=i386 _X3DAudioInitialize@12(long float ptr) LEGACY_X3DAudioInitialize
@ stdcall -arch=!i386 X3DAudioCalculate(ptr ptr ptr long ptr) LEGACY_X3DAudioCalculate
@ stdcall -arch=!i386 X3DAudioInitialize(long float ptr) LEGACY_X3DAudioInitialize
dlls/x3daudio1_2/x3daudio1_2.spec
View file @
a53a9a98
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
@ stdcall -arch=i386 _X3DAudioCalculate@20(ptr ptr ptr long ptr) LEGACY_X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr) LEGACY_X3DAudioInitialize
@ stdcall -arch=i386 _X3DAudioInitialize@12(long float ptr) LEGACY_X3DAudioInitialize
@ stdcall -arch=!i386 X3DAudioCalculate(ptr ptr ptr long ptr) LEGACY_X3DAudioCalculate
@ stdcall -arch=!i386 X3DAudioInitialize(long float ptr) LEGACY_X3DAudioInitialize
dlls/xaudio2_7/x3daudio.c
View file @
a53a9a98
...
@@ -63,8 +63,13 @@ HRESULT CDECL X3DAudioInitialize(UINT32 chanmask, float speedofsound,
...
@@ -63,8 +63,13 @@ HRESULT CDECL X3DAudioInitialize(UINT32 chanmask, float speedofsound,
#endif
/* XAUDIO2_VER >= 8 */
#endif
/* XAUDIO2_VER >= 8 */
#ifdef X3DAUDIO1_VER
#ifdef X3DAUDIO1_VER
#if X3DAUDIO1_VER <= 2
void
WINAPI
LEGACY_X3DAudioInitialize
(
UINT32
chanmask
,
float
speedofsound
,
X3DAUDIO_HANDLE
handle
)
#else
void
CDECL
LEGACY_X3DAudioInitialize
(
UINT32
chanmask
,
float
speedofsound
,
void
CDECL
LEGACY_X3DAudioInitialize
(
UINT32
chanmask
,
float
speedofsound
,
X3DAUDIO_HANDLE
handle
)
X3DAUDIO_HANDLE
handle
)
#endif
{
{
TRACE
(
"0x%x, %f, %p
\n
"
,
chanmask
,
speedofsound
,
handle
);
TRACE
(
"0x%x, %f, %p
\n
"
,
chanmask
,
speedofsound
,
handle
);
F3DAudioInitialize
(
chanmask
,
speedofsound
,
handle
);
F3DAudioInitialize
(
chanmask
,
speedofsound
,
handle
);
...
@@ -72,9 +77,15 @@ void CDECL LEGACY_X3DAudioInitialize(UINT32 chanmask, float speedofsound,
...
@@ -72,9 +77,15 @@ void CDECL LEGACY_X3DAudioInitialize(UINT32 chanmask, float speedofsound,
#endif
/* X3DAUDIO1_VER */
#endif
/* X3DAUDIO1_VER */
#if XAUDIO2_VER >= 8 || defined X3DAUDIO1_VER
#if XAUDIO2_VER >= 8 || defined X3DAUDIO1_VER
#if defined(X3DAUDIO1_VER) && X3DAUDIO1_VER <= 2
void
WINAPI
LEGACY_X3DAudioCalculate
(
const
X3DAUDIO_HANDLE
handle
,
const
X3DAUDIO_LISTENER
*
listener
,
const
X3DAUDIO_EMITTER
*
emitter
,
UINT32
flags
,
X3DAUDIO_DSP_SETTINGS
*
out
)
#else
void
CDECL
X3DAudioCalculate
(
const
X3DAUDIO_HANDLE
handle
,
void
CDECL
X3DAudioCalculate
(
const
X3DAUDIO_HANDLE
handle
,
const
X3DAUDIO_LISTENER
*
listener
,
const
X3DAUDIO_EMITTER
*
emitter
,
const
X3DAUDIO_LISTENER
*
listener
,
const
X3DAUDIO_EMITTER
*
emitter
,
UINT32
flags
,
X3DAUDIO_DSP_SETTINGS
*
out
)
UINT32
flags
,
X3DAUDIO_DSP_SETTINGS
*
out
)
#endif
{
{
TRACE
(
"%p, %p, %p, 0x%x, %p
\n
"
,
handle
,
listener
,
emitter
,
flags
,
out
);
TRACE
(
"%p, %p, %p, 0x%x, %p
\n
"
,
handle
,
listener
,
emitter
,
flags
,
out
);
F3DAudioCalculate
(
F3DAudioCalculate
(
...
...
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