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
63c0f01c
Commit
63c0f01c
authored
Sep 14, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Sep 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Ensure unixlib function tables and enum stay in sync.
parent
59267189
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
unixlib.h
dlls/mmdevapi/unixlib.h
+1
-0
alsa.c
dlls/winealsa.drv/alsa.c
+6
-2
No files found.
dlls/mmdevapi/unixlib.h
View file @
63c0f01c
...
@@ -332,4 +332,5 @@ enum unix_funcs
...
@@ -332,4 +332,5 @@ enum unix_funcs
midi_in_message
,
midi_in_message
,
midi_notify_wait
,
midi_notify_wait
,
aux_message
,
aux_message
,
funcs_count
};
};
dlls/winealsa.drv/alsa.c
View file @
63c0f01c
...
@@ -2504,7 +2504,7 @@ static NTSTATUS alsa_get_prop_value(void *args)
...
@@ -2504,7 +2504,7 @@ static NTSTATUS alsa_get_prop_value(void *args)
return
STATUS_SUCCESS
;
return
STATUS_SUCCESS
;
}
}
unixlib_entry_t
__wine_unix_call_funcs
[]
=
const
unixlib_entry_t
__wine_unix_call_funcs
[]
=
{
{
alsa_process_attach
,
alsa_process_attach
,
alsa_not_implemented
,
alsa_not_implemented
,
...
@@ -2542,6 +2542,8 @@ unixlib_entry_t __wine_unix_call_funcs[] =
...
@@ -2542,6 +2542,8 @@ unixlib_entry_t __wine_unix_call_funcs[] =
alsa_not_implemented
,
alsa_not_implemented
,
};
};
C_ASSERT
(
ARRAYSIZE
(
__wine_unix_call_funcs
)
==
funcs_count
);
#ifdef _WIN64
#ifdef _WIN64
typedef
UINT
PTR32
;
typedef
UINT
PTR32
;
...
@@ -2958,7 +2960,7 @@ static NTSTATUS alsa_wow64_get_prop_value(void *args)
...
@@ -2958,7 +2960,7 @@ static NTSTATUS alsa_wow64_get_prop_value(void *args)
return
STATUS_SUCCESS
;
return
STATUS_SUCCESS
;
}
}
unixlib_entry_t
__wine_unix_call_wow64_funcs
[]
=
const
unixlib_entry_t
__wine_unix_call_wow64_funcs
[]
=
{
{
alsa_process_attach
,
alsa_process_attach
,
alsa_not_implemented
,
alsa_not_implemented
,
...
@@ -2996,4 +2998,6 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
...
@@ -2996,4 +2998,6 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
alsa_not_implemented
,
alsa_not_implemented
,
};
};
C_ASSERT
(
ARRAYSIZE
(
__wine_unix_call_wow64_funcs
)
==
funcs_count
);
#endif
/* _WIN64 */
#endif
/* _WIN64 */
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