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
2dc15d39
Commit
2dc15d39
authored
Sep 04, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Use the correct interface methods.
parent
0feb0cda
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
graph.c
dlls/dmime/graph.c
+2
-2
performance.c
dlls/dmime/performance.c
+1
-1
dmime.c
dlls/dmime/tests/dmime.c
+4
-4
performance.c
dlls/dmime/tests/performance.c
+1
-1
No files found.
dlls/dmime/graph.c
View file @
2dc15d39
...
...
@@ -129,8 +129,8 @@ static HRESULT WINAPI DirectMusicGraph_InsertTool(IDirectMusicGraph *iface, IDir
pNewTool
=
calloc
(
1
,
sizeof
(
*
pNewTool
));
pNewTool
->
pTool
=
pTool
;
pNewTool
->
dwIndex
=
lIndex
;
IDirectMusicTool
8
_AddRef
(
pTool
);
IDirectMusicTool
8
_Init
(
pTool
,
iface
);
IDirectMusicTool_AddRef
(
pTool
);
IDirectMusicTool_Init
(
pTool
,
iface
);
list_add_tail
(
pPrevEntry
->
next
,
&
pNewTool
->
entry
);
#if 0
...
...
dlls/dmime/performance.c
View file @
2dc15d39
...
...
@@ -879,7 +879,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_CloseDown(IDirectMusicPerform
This
->
dsound
=
NULL
;
}
if
(
This
->
dmusic
)
{
IDirectMusic_SetDirectSound
(
This
->
dmusic
,
NULL
,
NULL
);
IDirectMusic
8
_SetDirectSound
(
This
->
dmusic
,
NULL
,
NULL
);
IDirectMusic8_Release
(
This
->
dmusic
);
This
->
dmusic
=
NULL
;
}
...
...
dlls/dmime/tests/dmime.c
View file @
2dc15d39
...
...
@@ -223,7 +223,7 @@ static BOOL missing_dmime(void)
if
(
hr
==
S_OK
&&
dms
)
{
IDirectMusicSegment_Release
(
dms
);
IDirectMusicSegment
8
_Release
(
dms
);
return
FALSE
;
}
return
TRUE
;
...
...
@@ -1015,7 +1015,7 @@ static void expect_getparam(IDirectMusicTrack *track, REFGUID type, const char *
HRESULT
hr
;
char
buf
[
64
]
=
{
0
};
hr
=
IDirectMusicTrack
8
_GetParam
(
track
,
type
,
0
,
NULL
,
buf
);
hr
=
IDirectMusicTrack_GetParam
(
track
,
type
,
0
,
NULL
,
buf
);
ok
(
hr
==
expect
,
"GetParam(%s) failed: %#lx, expected %#lx
\n
"
,
name
,
hr
,
expect
);
}
...
...
@@ -1025,7 +1025,7 @@ static void expect_setparam(IDirectMusicTrack *track, REFGUID type, const char *
HRESULT
hr
;
char
buf
[
64
]
=
{
0
};
hr
=
IDirectMusicTrack
8
_SetParam
(
track
,
type
,
0
,
buf
);
hr
=
IDirectMusicTrack_SetParam
(
track
,
type
,
0
,
buf
);
ok
(
hr
==
expect
,
"SetParam(%s) failed: %#lx, expected %#lx
\n
"
,
name
,
hr
,
expect
);
}
...
...
@@ -1103,7 +1103,7 @@ static void test_track(void)
/* IDirectMusicTrack */
if
(
class
[
i
].
has_params
!=
~
0
)
{
for
(
j
=
0
;
j
<
ARRAY_SIZE
(
param_types
);
j
++
)
{
hr
=
IDirectMusicTrack
8
_IsParamSupported
(
dmt
,
param_types
[
j
].
type
);
hr
=
IDirectMusicTrack_IsParamSupported
(
dmt
,
param_types
[
j
].
type
);
if
(
class
[
i
].
has_params
&
(
1
<<
j
))
{
ok
(
hr
==
S_OK
,
"IsParamSupported(%s) failed: %#lx, expected S_OK
\n
"
,
param_types
[
j
].
name
,
hr
);
...
...
dlls/dmime/tests/performance.c
View file @
2dc15d39
...
...
@@ -334,7 +334,7 @@ static void test_createport(void)
ok
(
hr
==
S_OK
,
"CloseDown failed: %#lx
\n
"
,
hr
);
IDirectMusic_Release
(
music
);
IDirectMusicPerformance_Release
(
perf
);
IDirectMusicPerformance
8
_Release
(
perf
);
}
static
void
test_pchannel
(
void
)
...
...
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