Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
jack2
Commits
2d1d3235
Commit
2d1d3235
authored
Mar 12, 2017
by
Adrian Knoth
Committed by
GitHub
Mar 12, 2017
Browse files
Merge pull request #142 from jmendeth/patch-2
Correct typos in JackNetTool.cpp
parents
02299d4a
d239893d
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/JackNetTool.cpp
View file @
2d1d3235
...
...
@@ -778,8 +778,8 @@ namespace Jack
memset
(
fCompressedBuffer
[
port_index
],
0
,
fCompressedMaxSizeByte
*
sizeof
(
char
));
}
int
res1
=
(
fNPorts
*
fCompressedMaxSizeByte
+
CDO
)
%
PACKET_AVAILABLE_SIZE
(
params
);
int
res2
=
(
fNPorts
*
fCompressedMaxSizeByte
+
CDO
)
/
PACKET_AVAILABLE_SIZE
(
params
);
int
res1
=
(
fNPorts
*
(
fCompressedMaxSizeByte
+
CDO
)
)
%
PACKET_AVAILABLE_SIZE
(
params
);
int
res2
=
(
fNPorts
*
(
fCompressedMaxSizeByte
+
CDO
)
)
/
PACKET_AVAILABLE_SIZE
(
params
);
fNumPackets
=
(
res1
)
?
(
res2
+
1
)
:
res2
;
...
...
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