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
ae7c8d26
Commit
ae7c8d26
authored
Sep 07, 2022
by
Davide Beatrici
Committed by
Alexandre Julliard
Sep 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss: Adapt "get_frequency_params" struct to mmdevapi's.
parent
b1b71a31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
mmdevdrv.c
dlls/wineoss.drv/mmdevdrv.c
+1
-1
oss.c
dlls/wineoss.drv/oss.c
+3
-3
unixlib.h
dlls/wineoss.drv/unixlib.h
+1
-1
No files found.
dlls/wineoss.drv/mmdevdrv.c
View file @
ae7c8d26
...
...
@@ -1414,7 +1414,7 @@ static HRESULT WINAPI AudioClock_GetFrequency(IAudioClock *iface, UINT64 *freq)
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
freq
);
params
.
stream
=
This
->
stream
;
params
.
freq
uency
=
freq
;
params
.
freq
=
freq
;
OSS_CALL
(
get_frequency
,
&
params
);
return
params
.
result
;
...
...
dlls/wineoss.drv/oss.c
View file @
ae7c8d26
...
...
@@ -1295,7 +1295,7 @@ static NTSTATUS oss_get_frequency(void *args)
{
struct
get_frequency_params
*
params
=
args
;
struct
oss_stream
*
stream
=
handle_get_stream
(
params
->
stream
);
UINT64
*
freq
=
params
->
freq
uency
;
UINT64
*
freq
=
params
->
freq
;
oss_lock
(
stream
);
...
...
@@ -1911,12 +1911,12 @@ static NTSTATUS oss_wow64_get_frequency(void *args)
{
stream_handle
stream
;
HRESULT
result
;
PTR32
freq
uency
;
PTR32
freq
;
}
*
params32
=
args
;
struct
get_frequency_params
params
=
{
.
stream
=
params32
->
stream
,
.
freq
uency
=
ULongToPtr
(
params32
->
frequency
)
.
freq
=
ULongToPtr
(
params32
->
freq
)
};
oss_get_frequency
(
&
params
);
params32
->
result
=
params
.
result
;
...
...
dlls/wineoss.drv/unixlib.h
View file @
ae7c8d26
...
...
@@ -180,7 +180,7 @@ struct get_frequency_params
{
stream_handle
stream
;
HRESULT
result
;
UINT64
*
freq
uency
;
UINT64
*
freq
;
};
struct
get_position_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