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
c372caae
Commit
c372caae
authored
Nov 24, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio.drv: Use the Unix call helpers.
parent
9e4e8de7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
mmdevdrv.c
dlls/winecoreaudio.drv/mmdevdrv.c
+1
-4
unixlib.h
dlls/winecoreaudio.drv/unixlib.h
+1
-3
No files found.
dlls/winecoreaudio.drv/mmdevdrv.c
View file @
c372caae
...
...
@@ -43,8 +43,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
coreaudio
);
unixlib_handle_t
coreaudio_handle
=
0
;
#define NULL_PTR_ERR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, RPC_X_NULL_REF_POINTER)
static
const
REFERENCE_TIME
DefaultPeriod
=
100000
;
...
...
@@ -199,8 +197,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
{
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
dll
);
if
(
NtQueryVirtualMemory
(
GetCurrentProcess
(),
dll
,
MemoryWineUnixFuncs
,
&
coreaudio_handle
,
sizeof
(
coreaudio_handle
),
NULL
))
if
(
__wine_init_unix_call
())
return
FALSE
;
g_timer_q
=
CreateTimerQueue
();
if
(
!
g_timer_q
)
...
...
dlls/winecoreaudio.drv/unixlib.h
View file @
c372caae
...
...
@@ -33,6 +33,4 @@ NTSTATUS unix_wow64_midi_in_message(void *args) DECLSPEC_HIDDEN;
NTSTATUS
unix_wow64_midi_notify_wait
(
void
*
args
)
DECLSPEC_HIDDEN
;
#endif
extern
unixlib_handle_t
coreaudio_handle
;
#define UNIX_CALL( func, params ) __wine_unix_call( coreaudio_handle, func, params )
#define UNIX_CALL( func, params ) WINE_UNIX_CALL( func, params )
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