Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f5d82923
Commit
f5d82923
authored
Aug 10, 2022
by
Davide Beatrici
Committed by
Alexandre Julliard
Aug 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winepulse: Adapt "release_stream_params" struct to mmdevapi's.
parent
23fadaad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
mmdevdrv.c
dlls/winepulse.drv/mmdevdrv.c
+2
-2
pulse.c
dlls/winepulse.drv/pulse.c
+5
-5
unixlib.h
dlls/winepulse.drv/unixlib.h
+1
-1
No files found.
dlls/winepulse.drv/mmdevdrv.c
View file @
f5d82923
...
...
@@ -229,8 +229,8 @@ static void pulse_call(enum unix_funcs code, void *params)
static
void
pulse_release_stream
(
stream_handle
stream
,
HANDLE
timer
)
{
struct
release_stream_params
params
;
params
.
stream
=
stream
;
params
.
timer
=
timer
;
params
.
stream
=
stream
;
params
.
timer
_thread
=
timer
;
pulse_call
(
release_stream
,
&
params
);
}
...
...
dlls/winepulse.drv/pulse.c
View file @
f5d82923
...
...
@@ -1203,10 +1203,10 @@ static NTSTATUS pulse_release_stream(void *args)
struct
pulse_stream
*
stream
=
handle_get_stream
(
params
->
stream
);
SIZE_T
size
;
if
(
params
->
timer
)
{
if
(
params
->
timer
_thread
)
{
stream
->
please_quit
=
TRUE
;
NtWaitForSingleObject
(
params
->
timer
,
FALSE
,
NULL
);
NtClose
(
params
->
timer
);
NtWaitForSingleObject
(
params
->
timer
_thread
,
FALSE
,
NULL
);
NtClose
(
params
->
timer
_thread
);
}
pulse_lock
();
...
...
@@ -2451,13 +2451,13 @@ static NTSTATUS pulse_wow64_release_stream(void *args)
struct
{
stream_handle
stream
;
PTR32
timer
;
PTR32
timer
_thread
;
HRESULT
result
;
}
*
params32
=
args
;
struct
release_stream_params
params
=
{
.
stream
=
params32
->
stream
,
.
timer
=
ULongToHandle
(
params32
->
timer
)
.
timer
_thread
=
ULongToHandle
(
params32
->
timer_thread
)
};
pulse_release_stream
(
&
params
);
params32
->
result
=
params
.
result
;
...
...
dlls/winepulse.drv/unixlib.h
View file @
f5d82923
...
...
@@ -68,7 +68,7 @@ struct create_stream_params
struct
release_stream_params
{
stream_handle
stream
;
HANDLE
timer
;
HANDLE
timer
_thread
;
HRESULT
result
;
};
...
...
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