Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libjitsi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZRTP
libjitsi
Commits
44358f27
Commit
44358f27
authored
11 years ago
by
Lyubomir Marinov
Browse files
Options
Downloads
Patches
Plain Diff
Adds javadocs, fixes formatting.
parent
2378d280
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/org/jitsi/impl/configuration/ConfigurationServiceImpl.java
+3
-4
3 additions, 4 deletions
...rg/jitsi/impl/configuration/ConfigurationServiceImpl.java
src/org/jitsi/impl/neomedia/audiolevel/AudioLevelCalculator.java
+4
-2
4 additions, 2 deletions
.../jitsi/impl/neomedia/audiolevel/AudioLevelCalculator.java
with
7 additions
and
6 deletions
src/org/jitsi/impl/configuration/ConfigurationServiceImpl.java
+
3
−
4
View file @
44358f27
...
@@ -1459,11 +1459,10 @@ public void purgeStoredConfiguration()
...
@@ -1459,11 +1459,10 @@ public void purgeStoredConfiguration()
*/
*/
private
void
debugPrintSystemProperties
()
private
void
debugPrintSystemProperties
()
{
{
if
(
logger
.
isInfoEnabled
())
if
(
logger
.
isInfoEnabled
())
{
{
for
(
Map
.
Entry
<
Object
,
Object
>
entry
for
(
Map
.
Entry
<
Object
,
Object
>
e
:
System
.
getProperties
().
entrySet
())
:
System
.
getProperties
().
entrySet
())
logger
.
info
(
e
.
getKey
()
+
"="
+
e
.
getValue
());
logger
.
info
(
entry
.
getKey
()
+
"="
+
entry
.
getValue
());
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/org/jitsi/impl/neomedia/audiolevel/AudioLevelCalculator.java
+
4
−
2
View file @
44358f27
...
@@ -9,12 +9,14 @@
...
@@ -9,12 +9,14 @@
import
org.jitsi.impl.neomedia.*
;
import
org.jitsi.impl.neomedia.*
;
/**
/**
* Implements functions which calculate audio levels such as signal power and
* sound pressure.
*
* @author Damian Minkov
* @author Damian Minkov
* @author Lyubomir Marinov
* @author Lyubomir Marinov
*/
*/
public
class
AudioLevelCalculator
public
class
AudioLevelCalculator
{
{
/**
/**
* The decrease percentage. The decrease cannot be done with more than this
* The decrease percentage. The decrease cannot be done with more than this
* value in percents.
* value in percents.
...
@@ -192,7 +194,7 @@ private static int ensureLevelRange(int level, int minLevel, int maxLevel)
...
@@ -192,7 +194,7 @@ private static int ensureLevelRange(int level, int minLevel, int maxLevel)
{
{
if
(
level
<
minLevel
)
if
(
level
<
minLevel
)
return
minLevel
;
return
minLevel
;
else
if
(
level
>
maxLevel
)
else
if
(
level
>
maxLevel
)
return
maxLevel
;
return
maxLevel
;
else
else
return
level
;
return
level
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment