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
ee59aba2
Commit
ee59aba2
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 "is_started_params" struct to mmdevapi's.
parent
aef3a3b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mmdevdrv.c
dlls/winepulse.drv/mmdevdrv.c
+1
-1
pulse.c
dlls/winepulse.drv/pulse.c
+1
-1
unixlib.h
dlls/winepulse.drv/unixlib.h
+1
-1
No files found.
dlls/winepulse.drv/mmdevdrv.c
View file @
ee59aba2
...
...
@@ -2021,7 +2021,7 @@ static HRESULT WINAPI AudioSessionControl_GetState(IAudioSessionControl2 *iface,
params
.
stream
=
client
->
pulse_stream
;
pulse_call
(
is_started
,
&
params
);
if
(
params
.
started
)
{
if
(
params
.
result
==
S_OK
)
{
*
state
=
AudioSessionStateActive
;
goto
out
;
}
...
...
dlls/winepulse.drv/pulse.c
View file @
ee59aba2
...
...
@@ -2258,7 +2258,7 @@ static NTSTATUS pulse_is_started(void *args)
struct
pulse_stream
*
stream
=
handle_get_stream
(
params
->
stream
);
pulse_lock
();
params
->
started
=
pulse_stream_valid
(
stream
)
&&
stream
->
started
;
params
->
result
=
pulse_stream_valid
(
stream
)
&&
stream
->
started
?
S_OK
:
S_FALSE
;
pulse_unlock
();
return
STATUS_SUCCESS
;
...
...
dlls/winepulse.drv/unixlib.h
View file @
ee59aba2
...
...
@@ -214,7 +214,7 @@ struct test_connect_params
struct
is_started_params
{
stream_handle
stream
;
BOOL
started
;
HRESULT
result
;
};
struct
get_prop_value_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