Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2cbb6f33
Commit
2cbb6f33
authored
May 09, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
May 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio: Remove extraneous parentheses around equality comparisons.
parent
83437818
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
audio.c
dlls/wineesd.drv/audio.c
+1
-1
audio.c
dlls/winenas.drv/audio.c
+1
-1
No files found.
dlls/wineesd.drv/audio.c
View file @
2cbb6f33
...
@@ -562,7 +562,7 @@ static int ESD_AddRingMessage(ESD_MSG_RING* mr, enum win_wm_message msg, DWORD p
...
@@ -562,7 +562,7 @@ static int ESD_AddRingMessage(ESD_MSG_RING* mr, enum win_wm_message msg, DWORD p
HANDLE
hEvent
=
INVALID_HANDLE_VALUE
;
HANDLE
hEvent
=
INVALID_HANDLE_VALUE
;
EnterCriticalSection
(
&
mr
->
msg_crst
);
EnterCriticalSection
(
&
mr
->
msg_crst
);
if
(
(
mr
->
msg_toget
==
((
mr
->
msg_tosave
+
1
)
%
mr
->
ring_buffer_size
)
))
if
(
mr
->
msg_toget
==
((
mr
->
msg_tosave
+
1
)
%
mr
->
ring_buffer_size
))
{
{
int
old_ring_buffer_size
=
mr
->
ring_buffer_size
;
int
old_ring_buffer_size
=
mr
->
ring_buffer_size
;
mr
->
ring_buffer_size
+=
ESD_RING_BUFFER_INCREMENT
;
mr
->
ring_buffer_size
+=
ESD_RING_BUFFER_INCREMENT
;
...
...
dlls/winenas.drv/audio.c
View file @
2cbb6f33
...
@@ -488,7 +488,7 @@ static int NAS_AddRingMessage(MSG_RING* mr, enum win_wm_message msg, DWORD param
...
@@ -488,7 +488,7 @@ static int NAS_AddRingMessage(MSG_RING* mr, enum win_wm_message msg, DWORD param
HANDLE
hEvent
=
INVALID_HANDLE_VALUE
;
HANDLE
hEvent
=
INVALID_HANDLE_VALUE
;
EnterCriticalSection
(
&
mr
->
msg_crst
);
EnterCriticalSection
(
&
mr
->
msg_crst
);
if
(
(
mr
->
msg_toget
==
((
mr
->
msg_tosave
+
1
)
%
mr
->
ring_buffer_size
)
))
if
(
mr
->
msg_toget
==
((
mr
->
msg_tosave
+
1
)
%
mr
->
ring_buffer_size
))
{
{
int
old_ring_buffer_size
=
mr
->
ring_buffer_size
;
int
old_ring_buffer_size
=
mr
->
ring_buffer_size
;
mr
->
ring_buffer_size
+=
NAS_RING_BUFFER_INCREMENT
;
mr
->
ring_buffer_size
+=
NAS_RING_BUFFER_INCREMENT
;
...
...
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