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
91e59d99
Commit
91e59d99
authored
Mar 09, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Avoid comparing BOOL variables with TRUE (PVS-Studio).
parent
1328ec48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dsound_main.c
dlls/dsound/dsound_main.c
+1
-1
mixer.c
dlls/dsound/mixer.c
+1
-1
No files found.
dlls/dsound/dsound_main.c
View file @
91e59d99
...
@@ -528,7 +528,7 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
...
@@ -528,7 +528,7 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
release_mmdevenum
(
devenum
,
init_hr
);
release_mmdevenum
(
devenum
,
init_hr
);
return
(
keep_going
==
TRUE
)
?
S_OK
:
S_FALSE
;
return
keep_going
?
S_OK
:
S_FALSE
;
}
}
/***************************************************************************
/***************************************************************************
...
...
dlls/dsound/mixer.c
View file @
91e59d99
...
@@ -841,7 +841,7 @@ static void DSOUND_PerformMix(DirectSoundDevice *device)
...
@@ -841,7 +841,7 @@ static void DSOUND_PerformMix(DirectSoundDevice *device)
}
}
/* if device was stopping, its for sure stopped when all buffers have stopped */
/* if device was stopping, its for sure stopped when all buffers have stopped */
else
if
((
all_stopped
==
TRUE
)
&&
(
device
->
state
==
STATE_STOPPING
))
{
else
if
(
all_stopped
&&
(
device
->
state
==
STATE_STOPPING
))
{
TRACE
(
"All buffers have stopped. Stopping primary buffer
\n
"
);
TRACE
(
"All buffers have stopped. Stopping primary buffer
\n
"
);
device
->
state
=
STATE_STOPPED
;
device
->
state
=
STATE_STOPPED
;
...
...
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