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
9a30a71e
Commit
9a30a71e
authored
Sep 09, 2022
by
Davide Beatrici
Committed by
Alexandre Julliard
Sep 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio: Adapt "release_stream_params" struct to mmdevapi's.
parent
de9da9bc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
coreaudio.c
dlls/winecoreaudio.drv/coreaudio.c
+19
-1
mmdevdrv.c
dlls/winecoreaudio.drv/mmdevdrv.c
+1
-0
unixlib.h
dlls/winecoreaudio.drv/unixlib.h
+1
-0
No files found.
dlls/winecoreaudio.drv/coreaudio.c
View file @
9a30a71e
...
...
@@ -1737,6 +1737,24 @@ static NTSTATUS unix_wow64_create_stream(void *args)
return
STATUS_SUCCESS
;
}
static
NTSTATUS
unix_wow64_release_stream
(
void
*
args
)
{
struct
{
stream_handle
stream
;
PTR32
timer_thread
;
HRESULT
result
;
}
*
params32
=
args
;
struct
release_stream_params
params
=
{
.
stream
=
params32
->
stream
,
.
timer_thread
=
ULongToHandle
(
params32
->
timer_thread
)
};
unix_release_stream
(
&
params
);
params32
->
result
=
params
.
result
;
return
STATUS_SUCCESS
;
}
static
NTSTATUS
unix_wow64_get_render_buffer
(
void
*
args
)
{
struct
...
...
@@ -1966,7 +1984,7 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
{
unix_wow64_get_endpoint_ids
,
unix_wow64_create_stream
,
unix_release_stream
,
unix_
wow64_
release_stream
,
unix_start
,
unix_stop
,
unix_reset
,
...
...
dlls/winecoreaudio.drv/mmdevdrv.c
View file @
9a30a71e
...
...
@@ -535,6 +535,7 @@ static ULONG WINAPI AudioClient_Release(IAudioClient3 *iface)
}
if
(
This
->
stream
){
params
.
stream
=
This
->
stream
;
params
.
timer_thread
=
NULL
;
UNIX_CALL
(
release_stream
,
&
params
);
}
if
(
This
->
session
){
...
...
dlls/winecoreaudio.drv/unixlib.h
View file @
9a30a71e
...
...
@@ -55,6 +55,7 @@ struct create_stream_params
struct
release_stream_params
{
stream_handle
stream
;
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