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
56fc711a
Commit
56fc711a
authored
Sep 04, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmsynth: Implement IDirectMusicSynth_(Download|Unload) for instruments.
parent
82436b1e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
synth.c
dlls/dmsynth/synth.c
+0
-0
dmsynth.c
dlls/dmsynth/tests/dmsynth.c
+5
-5
No files found.
dlls/dmsynth/synth.c
View file @
56fc711a
This diff is collapsed.
Click to expand it.
dlls/dmsynth/tests/dmsynth.c
View file @
56fc711a
...
...
@@ -1121,8 +1121,8 @@ static void test_IDirectMusicSynth(void)
instrument_handle
=
NULL
;
hr
=
IDirectMusicSynth_Download
(
synth
,
&
instrument_handle
,
&
instrument_download
,
&
can_free
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
todo_wine
ok
(
!!
instrument_handle
,
"got %p
\n
"
,
instrument_handle
);
todo_wine
ok
(
can_free
==
TRUE
,
"got %u
\n
"
,
can_free
);
ok
(
!!
instrument_handle
,
"got %p
\n
"
,
instrument_handle
);
ok
(
can_free
==
TRUE
,
"got %u
\n
"
,
can_free
);
/* add a MIDI note to a buffer and play it */
hr
=
IDirectMusicSynth_GetLatencyClock
(
synth
,
&
latency_clock
);
...
...
@@ -1158,11 +1158,11 @@ static void test_IDirectMusicSynth(void)
ok
(
ref
==
1
,
"got %lu
\n
"
,
ref
);
hr
=
IDirectMusicSynth_Unload
(
synth
,
0
,
NULL
,
NULL
);
todo_wine
ok
(
hr
==
E_FAIL
,
"got %#lx
\n
"
,
hr
);
ok
(
hr
==
E_FAIL
,
"got %#lx
\n
"
,
hr
);
hr
=
IDirectMusicSynth_Unload
(
synth
,
(
HANDLE
)
0xdeadbeef
,
test_unload_no_callback
,
(
HANDLE
)
0xdeadbeef
);
todo_wine
ok
(
hr
==
E_FAIL
,
"got %#lx
\n
"
,
hr
);
ok
(
hr
==
E_FAIL
,
"got %#lx
\n
"
,
hr
);
hr
=
IDirectMusicSynth_Unload
(
synth
,
wave_handle
,
test_unload_callback
,
(
HANDLE
)
0xdeadbeef
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
ok
(
!
unload_called
,
"callback called
\n
"
);
hr
=
IDirectMusicSynth_Unload
(
synth
,
instrument_handle
,
NULL
,
NULL
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
...
...
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