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
b012bed6
Commit
b012bed6
authored
Jun 12, 2023
by
Huw Davies
Committed by
Alexandre Julliard
Jun 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winepulse: Return E_NOTIMPL when the property is not found.
Fixes a regression caused by
13fa7a57
.
parent
2586652e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pulse.c
dlls/winepulse.drv/pulse.c
+3
-3
No files found.
dlls/winepulse.drv/pulse.c
View file @
b012bed6
...
...
@@ -2489,7 +2489,6 @@ static NTSTATUS pulse_get_prop_value(void *args)
struct
list
*
list
=
(
params
->
flow
==
eRender
)
?
&
g_phys_speakers
:
&
g_phys_sources
;
PhysDevice
*
dev
;
params
->
result
=
S_OK
;
LIST_FOR_EACH_ENTRY
(
dev
,
list
,
PhysDevice
,
entry
)
{
if
(
strcmp
(
params
->
device
,
dev
->
pulse_name
))
continue
;
...
...
@@ -2501,18 +2500,19 @@ static NTSTATUS pulse_get_prop_value(void *args)
case
0
:
/* FormFactor */
params
->
value
->
vt
=
VT_UI4
;
params
->
value
->
ulVal
=
dev
->
form
;
params
->
result
=
S_OK
;
return
STATUS_SUCCESS
;
case
3
:
/* PhysicalSpeakers */
if
(
!
dev
->
channel_mask
)
goto
fail
;
params
->
value
->
vt
=
VT_UI4
;
params
->
value
->
ulVal
=
dev
->
channel_mask
;
params
->
result
=
S_OK
;
return
STATUS_SUCCESS
;
default:
params
->
result
=
E_NOTIMPL
;
}
}
params
->
result
=
E_NOTIMPL
;
return
STATUS_SUCCESS
;
}
...
...
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