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
b321834d
Commit
b321834d
authored
Oct 30, 2015
by
Andrew Eikum
Committed by
Alexandre Julliard
Nov 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xaudio2: For legacy xaudio2, prefer native version.
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
23a0c7f6
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
0 deletions
+14
-0
xaudio_dll.c
dlls/xaudio2_0/xaudio_dll.c
+2
-0
xaudio_dll.c
dlls/xaudio2_1/xaudio_dll.c
+2
-0
xaudio_dll.c
dlls/xaudio2_2/xaudio_dll.c
+2
-0
xaudio_dll.c
dlls/xaudio2_3/xaudio_dll.c
+2
-0
xaudio_dll.c
dlls/xaudio2_4/xaudio_dll.c
+2
-0
xaudio_dll.c
dlls/xaudio2_5/xaudio_dll.c
+2
-0
xaudio_dll.c
dlls/xaudio2_6/xaudio_dll.c
+2
-0
No files found.
dlls/xaudio2_0/xaudio_dll.c
View file @
b321834d
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
DisableThreadLibraryCalls
(
hinstance
);
...
...
dlls/xaudio2_1/xaudio_dll.c
View file @
b321834d
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
DisableThreadLibraryCalls
(
hinstance
);
...
...
dlls/xaudio2_2/xaudio_dll.c
View file @
b321834d
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
DisableThreadLibraryCalls
(
hinstance
);
...
...
dlls/xaudio2_3/xaudio_dll.c
View file @
b321834d
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
DisableThreadLibraryCalls
(
hinstance
);
...
...
dlls/xaudio2_4/xaudio_dll.c
View file @
b321834d
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
DisableThreadLibraryCalls
(
hinstance
);
...
...
dlls/xaudio2_5/xaudio_dll.c
View file @
b321834d
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
DisableThreadLibraryCalls
(
hinstance
);
...
...
dlls/xaudio2_6/xaudio_dll.c
View file @
b321834d
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
...
@@ -28,6 +28,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved)
{
{
switch
(
reason
)
switch
(
reason
)
{
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
instance
=
hinstance
;
instance
=
hinstance
;
DisableThreadLibraryCalls
(
hinstance
);
DisableThreadLibraryCalls
(
hinstance
);
...
...
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