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
57a7d8b5
Commit
57a7d8b5
authored
Jan 25, 2022
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 26, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Forward the synth port GetCaps to the synth method.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e835e143
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
port.c
dlls/dmusic/port.c
+2
-6
No files found.
dlls/dmusic/port.c
View file @
57a7d8b5
...
...
@@ -38,7 +38,6 @@ struct synth_port {
IDirectMusicSynth
*
synth
;
IDirectMusicSynthSink
*
synth_sink
;
BOOL
active
;
DMUS_PORTCAPS
caps
;
DMUS_PORTPARAMS
params
;
int
nrofgroups
;
DMUSIC_PRIVATE_CHANNEL_GROUP
group
[
1
];
...
...
@@ -388,9 +387,7 @@ static HRESULT WINAPI synth_port_GetCaps(IDirectMusicPort *iface, DMUS_PORTCAPS
TRACE
(
"(%p/%p)->(%p)
\n
"
,
iface
,
This
,
port_caps
);
*
port_caps
=
This
->
caps
;
return
S_OK
;
return
IDirectMusicSynth_GetPortCaps
(
This
->
synth
,
port_caps
);
}
static
HRESULT
WINAPI
synth_port_DeviceIoControl
(
IDirectMusicPort
*
iface
,
DWORD
io_control_code
,
...
...
@@ -808,7 +805,7 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
HRESULT
hr
=
E_FAIL
;
int
i
;
TRACE
(
"(%p, %p
, %p)
\n
"
,
port_params
,
port_cap
s
,
port
);
TRACE
(
"(%p, %p
)
\n
"
,
port_param
s
,
port
);
*
port
=
NULL
;
...
...
@@ -824,7 +821,6 @@ HRESULT synth_port_create(IDirectMusic8Impl *parent, DMUS_PORTPARAMS *port_param
obj
->
parent
=
parent
;
obj
->
active
=
FALSE
;
obj
->
params
=
*
port_params
;
obj
->
caps
=
*
port_caps
;
hr
=
CoCreateInstance
(
&
CLSID_DirectMusicSynth
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IDirectMusicSynth
,
(
void
**
)
&
obj
->
synth
);
...
...
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