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
48ce352e
Commit
48ce352e
authored
Jun 15, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Remove unused arguments from helper functions.
parent
49dd9739
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
segment.c
dlls/dmime/segment.c
+12
-10
No files found.
dlls/dmime/segment.c
View file @
48ce352e
...
...
@@ -1038,8 +1038,9 @@ static HRESULT parse_track_form(IDirectMusicSegment8Impl *This, DMUS_PRIVATE_CHU
return
S_OK
;
}
static
HRESULT
IDirectMusicSegment8Impl_IPersistStream_ParseTrackList
(
LPPERSISTSTREAM
iface
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
,
IDirectMusicSegment8Impl
*
This
)
{
static
HRESULT
parse_track_list
(
IDirectMusicSegment8Impl
*
This
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
)
{
HRESULT
hr
=
E_FAIL
;
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
ListSize
[
3
],
ListCount
[
3
];
...
...
@@ -1091,8 +1092,9 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseTrackList (LPPERSIST
return
S_OK
;
}
static
HRESULT
IDirectMusicSegment8Impl_IPersistStream_ParseSegmentForm
(
LPPERSISTSTREAM
iface
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
,
IDirectMusicSegment8Impl
*
This
)
{
static
HRESULT
parse_segment_form
(
IDirectMusicSegment8Impl
*
This
,
DMUS_PRIVATE_CHUNK
*
pChunk
,
IStream
*
pStm
)
{
HRESULT
hr
=
E_FAIL
;
DMUS_PRIVATE_CHUNK
Chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
3
],
ListCount
[
3
];
...
...
@@ -1191,7 +1193,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseSegmentForm (LPPERSI
}
case
DMUS_FOURCC_TRACK_LIST
:
{
TRACE_
(
dmfile
)(
": TRACK list
\n
"
);
hr
=
IDirectMusicSegment8Impl_IPersistStream_ParseTrackList
(
iface
,
&
Chunk
,
pStm
,
This
);
hr
=
parse_track_list
(
This
,
&
Chunk
,
pStm
);
if
(
FAILED
(
hr
))
return
hr
;
break
;
}
...
...
@@ -1218,8 +1220,8 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseSegmentForm (LPPERSI
return
S_OK
;
}
static
HRESULT
IDirectMusicSegment8Impl_IPersistStream_LoadWave
(
LPPERSISTSTREAM
iface
,
IStream
*
pClonedStream
,
IDirectMusicObject
**
ppWaveObject
)
{
static
HRESULT
load_wave
(
IStream
*
pClonedStream
,
IDirectMusicObject
**
ppWaveObject
)
{
HRESULT
hr
=
E_FAIL
;
IPersistStream
*
pPersistStream
=
NULL
;
...
...
@@ -1271,7 +1273,7 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IPersistStream_Load (LPPERSISTSTR
switch
(
Chunk
.
fccID
)
{
case
DMUS_FOURCC_SEGMENT_FORM
:
{
TRACE_
(
dmfile
)(
": segment form
\n
"
);
hr
=
IDirectMusicSegment8Impl_IPersistStream_ParseSegmentForm
(
iface
,
&
Chunk
,
pStm
,
This
);
hr
=
parse_segment_form
(
This
,
&
Chunk
,
pStm
);
if
(
FAILED
(
hr
))
return
hr
;
break
;
}
...
...
@@ -1285,8 +1287,8 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IPersistStream_Load (LPPERSISTSTR
liMove
.
QuadPart
=
-
(
LONGLONG
)(
sizeof
(
FOURCC
)
*
2
+
sizeof
(
DWORD
));
IStream_Seek
(
pClonedStream
,
liMove
,
STREAM_SEEK_CUR
,
NULL
);
hr
=
IDirectMusicSegment8Impl_IPersistStream_LoadWave
(
iface
,
pClonedStream
,
&
pWave
);
hr
=
load_wave
(
pClonedStream
,
&
pWave
);
if
(
FAILED
(
hr
))
{
ERR
(
": could not load track
\n
"
);
return
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