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
182338ba
Commit
182338ba
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
dmusic: Avoid crashing in traces if wave doesn't have a WSMPL.
parent
2a1fd985
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wave.c
dlls/dmusic/wave.c
+3
-0
No files found.
dlls/dmusic/wave.c
View file @
182338ba
...
...
@@ -199,6 +199,8 @@ HRESULT wave_create_from_chunk(IStream *stream, struct chunk_entry *parent, IUnk
TRACE
(
" - wBitsPerSample: %u
\n
"
,
This
->
format
->
wBitsPerSample
);
TRACE
(
" - cbSize: %u
\n
"
,
This
->
format
->
cbSize
);
}
if
(
This
->
sample
)
{
TRACE
(
" - sample: {size: %lu, unity_note: %u, fine_tune: %d, attenuation: %ld, options: %#lx, loops: %lu}
\n
"
,
This
->
sample
->
head
.
cbSize
,
This
->
sample
->
head
.
usUnityNote
,
This
->
sample
->
head
.
sFineTune
,
This
->
sample
->
head
.
lAttenuation
,
...
...
@@ -208,6 +210,7 @@ HRESULT wave_create_from_chunk(IStream *stream, struct chunk_entry *parent, IUnk
This
->
sample
->
loops
[
i
].
cbSize
,
This
->
sample
->
loops
[
i
].
ulType
,
This
->
sample
->
loops
[
i
].
ulStart
,
This
->
sample
->
loops
[
i
].
ulLength
);
}
}
*
ret_iface
=
iface
;
return
S_OK
;
...
...
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