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
17f68bfa
Commit
17f68bfa
authored
Sep 26, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Implement IDirectMusicSegment_(Download|Unload).
parent
92985253
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
segment.c
dlls/dmime/segment.c
+6
-6
dmime.c
dlls/dmime/tests/dmime.c
+1
-1
No files found.
dlls/dmime/segment.c
View file @
17f68bfa
...
...
@@ -530,18 +530,18 @@ static HRESULT WINAPI segment_Compose(IDirectMusicSegment8 *iface, MUSIC_TIME mt
return
S_OK
;
}
static
HRESULT
WINAPI
segment_Download
(
IDirectMusicSegment8
*
iface
,
IUnknown
*
pAudioP
ath
)
static
HRESULT
WINAPI
segment_Download
(
IDirectMusicSegment8
*
iface
,
IUnknown
*
audio_p
ath
)
{
struct
segment
*
This
=
impl_from_IDirectMusicSegment8
(
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pAudioP
ath
);
return
S_OK
;
TRACE
(
"(%p, %p)
\n
"
,
This
,
audio_p
ath
);
return
IDirectMusicSegment8_SetParam
(
iface
,
&
GUID_DownloadToAudioPath
,
-
1
,
DMUS_SEG_ALLTRACKS
,
0
,
audio_path
)
;
}
static
HRESULT
WINAPI
segment_Unload
(
IDirectMusicSegment8
*
iface
,
IUnknown
*
pAudioP
ath
)
static
HRESULT
WINAPI
segment_Unload
(
IDirectMusicSegment8
*
iface
,
IUnknown
*
audio_p
ath
)
{
struct
segment
*
This
=
impl_from_IDirectMusicSegment8
(
iface
);
FIXME
(
"(%p, %p): stub
\n
"
,
This
,
pAudioP
ath
);
return
S_OK
;
TRACE
(
"(%p, %p)
\n
"
,
This
,
audio_p
ath
);
return
IDirectMusicSegment8_SetParam
(
iface
,
&
GUID_UnloadFromAudioPath
,
-
1
,
DMUS_SEG_ALLTRACKS
,
0
,
audio_path
)
;
}
static
const
IDirectMusicSegment8Vtbl
segment_vtbl
=
...
...
dlls/dmime/tests/dmime.c
View file @
17f68bfa
...
...
@@ -3943,7 +3943,7 @@ static void test_segment_state(void)
check_track_state
(
track
,
downloaded
,
FALSE
);
hr
=
IDirectMusicSegment8_Download
((
IDirectMusicSegment8
*
)
segment
,
(
IUnknown
*
)
performance
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
todo_wine
check_track_state
(
track
,
downloaded
,
TRUE
);
check_track_state
(
track
,
downloaded
,
TRUE
);
hr
=
IDirectMusicSegment8_Unload
((
IDirectMusicSegment8
*
)
segment
,
(
IUnknown
*
)
performance
);
ok
(
hr
==
S_OK
,
"got %#lx
\n
"
,
hr
);
check_track_state
(
track
,
downloaded
,
FALSE
);
...
...
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