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
96b0bdd7
Commit
96b0bdd7
authored
Sep 21, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmband: Implement band track GUID_DownloadToAudioPath parameter.
parent
52a38dc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
bandtrack.c
dlls/dmband/bandtrack.c
+26
-1
No files found.
dlls/dmband/bandtrack.c
View file @
96b0bdd7
...
...
@@ -193,7 +193,32 @@ static HRESULT WINAPI band_track_SetParam(IDirectMusicTrack8 *iface, REFGUID typ
else
if
(
IsEqualGUID
(
type
,
&
GUID_Download
))
FIXME
(
"GUID_Download not handled yet
\n
"
);
else
if
(
IsEqualGUID
(
type
,
&
GUID_DownloadToAudioPath
))
FIXME
(
"GUID_DownloadToAudioPath not handled yet
\n
"
);
{
IDirectMusicPerformance
*
performance
;
IDirectMusicAudioPath
*
audio_path
;
IUnknown
*
object
=
param
;
struct
band_entry
*
entry
;
HRESULT
hr
;
if
(
FAILED
(
hr
=
IDirectMusicAudioPath_QueryInterface
(
object
,
&
IID_IDirectMusicPerformance8
,
(
void
**
)
&
performance
))
&&
SUCCEEDED
(
hr
=
IDirectMusicAudioPath_QueryInterface
(
object
,
&
IID_IDirectMusicAudioPath
,
(
void
**
)
&
audio_path
)))
{
hr
=
IDirectMusicAudioPath_GetObjectInPath
(
audio_path
,
DMUS_PCHANNEL_ALL
,
DMUS_PATH_PERFORMANCE
,
0
,
&
GUID_All_Objects
,
0
,
&
IID_IDirectMusicPerformance8
,
(
void
**
)
&
performance
);
IDirectMusicAudioPath_Release
(
audio_path
);
}
if
(
FAILED
(
hr
))
{
WARN
(
"Failed to get IDirectMusicPerformance from param %p
\n
"
,
param
);
return
hr
;
}
LIST_FOR_EACH_ENTRY
(
entry
,
&
This
->
bands
,
struct
band_entry
,
entry
)
if
(
FAILED
(
hr
=
IDirectMusicBand_Download
(
entry
->
band
,
performance
)))
break
;
IDirectMusicPerformance_Release
(
performance
);
}
else
if
(
IsEqualGUID
(
type
,
&
GUID_Enable_Auto_Download
))
FIXME
(
"GUID_Enable_Auto_Download not handled yet
\n
"
);
else
if
(
IsEqualGUID
(
type
,
&
GUID_IDirectMusicBand
))
...
...
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