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
005123ba
Commit
005123ba
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 "get_mix_format_params" struct to mmdevapi's.
parent
d270dca8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
mmdevdrv.c
dlls/winepulse.drv/mmdevdrv.c
+1
-1
pulse.c
dlls/winepulse.drv/pulse.c
+3
-3
unixlib.h
dlls/winepulse.drv/unixlib.h
+1
-1
No files found.
dlls/winepulse.drv/mmdevdrv.c
View file @
005123ba
...
...
@@ -1142,7 +1142,7 @@ static HRESULT WINAPI AudioClient_GetMixFormat(IAudioClient3 *iface,
return
E_POINTER
;
*
pwfx
=
NULL
;
params
.
pulse_nam
e
=
This
->
pulse_name
;
params
.
devic
e
=
This
->
pulse_name
;
params
.
flow
=
This
->
dataflow
;
params
.
fmt
=
CoTaskMemAlloc
(
sizeof
(
WAVEFORMATEXTENSIBLE
));
if
(
!
params
.
fmt
)
...
...
dlls/winepulse.drv/pulse.c
View file @
005123ba
...
...
@@ -2055,7 +2055,7 @@ static NTSTATUS pulse_get_mix_format(void *args)
PhysDevice
*
dev
;
LIST_FOR_EACH_ENTRY
(
dev
,
list
,
PhysDevice
,
entry
)
{
if
(
strcmp
(
params
->
pulse_nam
e
,
dev
->
pulse_name
))
if
(
strcmp
(
params
->
devic
e
,
dev
->
pulse_name
))
continue
;
*
params
->
fmt
=
dev
->
fmt
;
...
...
@@ -2518,14 +2518,14 @@ static NTSTATUS pulse_wow64_get_mix_format(void *args)
{
struct
{
PTR32
pulse_nam
e
;
PTR32
devic
e
;
EDataFlow
flow
;
PTR32
fmt
;
HRESULT
result
;
}
*
params32
=
args
;
struct
get_mix_format_params
params
=
{
.
pulse_name
=
ULongToPtr
(
params32
->
pulse_nam
e
),
.
device
=
ULongToPtr
(
params32
->
devic
e
),
.
flow
=
params32
->
flow
,
.
fmt
=
ULongToPtr
(
params32
->
fmt
),
};
...
...
dlls/winepulse.drv/unixlib.h
View file @
005123ba
...
...
@@ -131,7 +131,7 @@ struct release_capture_buffer_params
struct
get_mix_format_params
{
const
char
*
pulse_nam
e
;
const
char
*
devic
e
;
EDataFlow
flow
;
WAVEFORMATEXTENSIBLE
*
fmt
;
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