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
2973dbb8
Commit
2973dbb8
authored
Jan 27, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Use the defines for the FOURCC codes.
parent
80ce3b31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
collection.c
dlls/dmusic/collection.c
+3
-3
No files found.
dlls/dmusic/collection.c
View file @
2973dbb8
...
...
@@ -289,7 +289,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescrip
TRACE_
(
dmfile
)(
": RIFF chunk of type %s"
,
debugstr_fourcc
(
chunk
.
fccID
));
StreamSize
=
chunk
.
dwSize
-
sizeof
(
FOURCC
);
if
(
chunk
.
fccID
!=
mmioFOURCC
(
'D'
,
'L'
,
'S'
,
' '
)
)
{
if
(
chunk
.
fccID
!=
FOURCC_DLS
)
{
TRACE_
(
dmfile
)(
": unexpected chunk; loading failed)
\n
"
);
liMove
.
QuadPart
=
StreamSize
;
IStream_Seek
(
stream
,
liMove
,
STREAM_SEEK_CUR
,
NULL
);
/* skip the rest of the chunk */
...
...
@@ -339,7 +339,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IDirectMusicObject_ParseDescrip
ListCount
[
0
]
=
0
;
switch
(
chunk
.
fccID
)
{
/* pure INFO list, such can be found in dls collections */
case
mmioFOURCC
(
'I'
,
'N'
,
'F'
,
'O'
)
:
case
DMUS_FOURCC_INFO_LIST
:
TRACE_
(
dmfile
)(
": INFO list
\n
"
);
do
{
hr
=
read_from_stream
(
stream
,
&
chunk
,
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
));
...
...
@@ -558,7 +558,7 @@ static HRESULT WINAPI IDirectMusicCollectionImpl_IPersistStream_Load(LPPERSISTST
ListSize
[
0
]
=
chunk
.
dwSize
-
sizeof
(
FOURCC
);
ListCount
[
0
]
=
0
;
switch
(
chunk
.
fccID
)
{
case
mmioFOURCC
(
'I'
,
'N'
,
'F'
,
'O'
)
:
{
case
DMUS_FOURCC_INFO_LIST
:
{
TRACE_
(
dmfile
)(
": INFO list
\n
"
);
do
{
IStream_Read
(
stream
,
&
chunk
,
sizeof
(
FOURCC
)
+
sizeof
(
DWORD
),
NULL
);
...
...
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