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
76af4bdd
Commit
76af4bdd
authored
Jan 14, 2016
by
Andrew Eikum
Committed by
Alexandre Julliard
Jan 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x3daudio1_6: Use shared source.
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
63ef6b9a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
45 deletions
+7
-45
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/x3daudio1_6/Makefile.in
+3
-1
main.c
dlls/x3daudio1_6/main.c
+0
-42
x3daudio1_6.spec
dlls/x3daudio1_6/x3daudio1_6.spec
+2
-2
No files found.
configure
View file @
76af4bdd
...
...
@@ -13719,6 +13719,7 @@ fi
if
test
"x
$ac_cv_have_openalsoft
"
!=
xyes
then
as_fn_append wine_notices
"|openal-soft
${
notice_platform
}
development files not found (or too old), XAudio2 won't be supported"
enable_x3daudio1_6
=
${
enable_x3daudio1_6
:-
no
}
enable_x3daudio1_7
=
${
enable_x3daudio1_7
:-
no
}
enable_xapofx1_1
=
${
enable_xapofx1_1
:-
no
}
enable_xapofx1_2
=
${
enable_xapofx1_2
:-
no
}
...
...
configure.ac
View file @
76af4bdd
...
...
@@ -1662,6 +1662,7 @@ fi
if test "x$ac_cv_have_openalsoft" != xyes
then
WINE_NOTICE([openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported])
enable_x3daudio1_6=${enable_x3daudio1_6:-no}
enable_x3daudio1_7=${enable_x3daudio1_7:-no}
enable_xapofx1_1=${enable_xapofx1_1:-no}
enable_xapofx1_2=${enable_xapofx1_2:-no}
...
...
dlls/x3daudio1_6/Makefile.in
View file @
76af4bdd
EXTRADEFS
=
-DX3DAUDIO1_VER
=
6
-DXAUDIO2_VER
=
6
MODULE
=
x3daudio1_6.dll
PARENTSRC
=
../xaudio2_7
C_SRCS
=
\
main
.c
x3daudio
.c
dlls/x3daudio1_6/main.c
deleted
100644 → 0
View file @
63ef6b9a
/*
* Copyright 2015 Austin English
*
* 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 "windef.h"
#include "winbase.h"
#include "x3daudio.h"
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinstDLL
);
break
;
case
DLL_PROCESS_DETACH
:
break
;
}
return
TRUE
;
}
dlls/x3daudio1_6/x3daudio1_6.spec
View file @
76af4bdd
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
xaudio2_8.X3DAudioCalculate
@ cdecl X3DAudioInitialize(long float ptr)
x3daudio1_7.
X3DAudioInitialize
@ cdecl X3DAudioCalculate(ptr ptr ptr long ptr)
@ cdecl X3DAudioInitialize(long float ptr)
LEGACY_
X3DAudioInitialize
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