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
4a60c0f6
Commit
4a60c0f6
authored
Aug 31, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Get rid of struct collection liWavePoolTablePosition member.
parent
a6145275
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
collection.c
dlls/dmusic/collection.c
+1
-5
No files found.
dlls/dmusic/collection.c
View file @
4a60c0f6
...
...
@@ -31,7 +31,6 @@ struct collection
LONG
ref
;
IStream
*
pStm
;
/* stream from which we load collection and later instruments */
LARGE_INTEGER
liWavePoolTablePosition
;
/* offset in a stream where wave pool table can be found */
CHAR
*
szCopyright
;
/* FIXME: should probably be placed somewhere else */
DLSHEADER
*
pHeader
;
/* pool table */
...
...
@@ -213,7 +212,7 @@ static HRESULT WINAPI collection_stream_Load(IPersistStream *iface,
DMUS_PRIVATE_CHUNK
chunk
;
DWORD
StreamSize
,
StreamCount
,
ListSize
[
2
],
ListCount
[
2
];
LARGE_INTEGER
liMove
;
/* used when skipping chunks */
ULARGE_INTEGER
dlibInstrumentPosition
,
dlibWavePoolPosition
;
ULARGE_INTEGER
dlibInstrumentPosition
;
IStream_AddRef
(
stream
);
/* add count for later references */
This
->
pStm
=
stream
;
...
...
@@ -357,9 +356,6 @@ static HRESULT WINAPI collection_stream_Load(IPersistStream *iface,
}
case
FOURCC_WVPL
:
{
TRACE_
(
dmfile
)(
": wave pool list (mark & skip)
\n
"
);
liMove
.
QuadPart
=
0
;
IStream_Seek
(
stream
,
liMove
,
STREAM_SEEK_CUR
,
&
dlibWavePoolPosition
);
/* store position */
This
->
liWavePoolTablePosition
.
QuadPart
=
dlibWavePoolPosition
.
QuadPart
;
liMove
.
QuadPart
=
chunk
.
dwSize
-
sizeof
(
FOURCC
);
IStream_Seek
(
stream
,
liMove
,
STREAM_SEEK_CUR
,
NULL
);
break
;
...
...
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