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
aef3a3b3
Commit
aef3a3b3
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_device_period_params" struct to mmdevapi's.
parent
005123ba
Hide 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 @
aef3a3b3
...
...
@@ -1172,7 +1172,7 @@ static HRESULT WINAPI AudioClient_GetDevicePeriod(IAudioClient3 *iface,
return
E_POINTER
;
params
.
flow
=
This
->
dataflow
;
params
.
pulse_nam
e
=
This
->
pulse_name
;
params
.
devic
e
=
This
->
pulse_name
;
params
.
def_period
=
defperiod
;
params
.
min_period
=
minperiod
;
...
...
dlls/winepulse.drv/pulse.c
View file @
aef3a3b3
...
...
@@ -2072,7 +2072,7 @@ static NTSTATUS pulse_get_device_period(void *args)
{
struct
get_device_period_params
*
params
=
args
;
params
->
result
=
get_device_period_helper
(
params
->
flow
,
params
->
pulse_nam
e
,
params
->
def_period
,
params
->
min_period
);
params
->
result
=
get_device_period_helper
(
params
->
flow
,
params
->
devic
e
,
params
->
def_period
,
params
->
min_period
);
return
STATUS_SUCCESS
;
}
...
...
@@ -2538,7 +2538,7 @@ static NTSTATUS pulse_wow64_get_device_period(void *args)
{
struct
{
PTR32
pulse_nam
e
;
PTR32
devic
e
;
EDataFlow
flow
;
HRESULT
result
;
PTR32
def_period
;
...
...
@@ -2546,7 +2546,7 @@ static NTSTATUS pulse_wow64_get_device_period(void *args)
}
*
params32
=
args
;
struct
get_device_period_params
params
=
{
.
pulse_name
=
ULongToPtr
(
params32
->
pulse_nam
e
),
.
device
=
ULongToPtr
(
params32
->
devic
e
),
.
flow
=
params32
->
flow
,
.
def_period
=
ULongToPtr
(
params32
->
def_period
),
.
min_period
=
ULongToPtr
(
params32
->
min_period
),
...
...
dlls/winepulse.drv/unixlib.h
View file @
aef3a3b3
...
...
@@ -139,7 +139,7 @@ struct get_mix_format_params
struct
get_device_period_params
{
const
char
*
pulse_nam
e
;
const
char
*
devic
e
;
EDataFlow
flow
;
HRESULT
result
;
REFERENCE_TIME
*
def_period
;
...
...
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