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
c1d66488
Commit
c1d66488
authored
12 years ago
by
Lyubomir Marinov
Browse files
Options
Downloads
Patches
Plain Diff
Fixes a failure to start the audio capture in calls until the Audio Preferences are opened.
parent
4ad62bd0
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/neomedia/ProcessorUtility.java
+13
-6
13 additions, 6 deletions
src/org/jitsi/impl/neomedia/ProcessorUtility.java
src/org/jitsi/impl/neomedia/device/PortAudioSystem.java
+2
-2
2 additions, 2 deletions
src/org/jitsi/impl/neomedia/device/PortAudioSystem.java
with
15 additions
and
8 deletions
src/org/jitsi/impl/neomedia/ProcessorUtility.java
+
13
−
6
View file @
c1d66488
...
...
@@ -15,7 +15,7 @@
*
* @author Emil Ivov
* @author Ken Larson
* @author Lubomir Marinov
* @author L
y
ubomir Marinov
*/
public
class
ProcessorUtility
implements
ControllerListener
...
...
@@ -140,15 +140,22 @@ else if (state == Processor.Realized)
}
catch
(
InterruptedException
ie
)
{
logger
.
warn
(
"Failed while waiting on Processor "
logger
.
warn
(
"Interrupted while waiting on Processor "
+
processor
+
" for state "
+
state
,
ie
);
processor
.
removeControllerListener
(
this
);
return
false
;
/*
* XXX It is not really clear what we should do. It seems
* that an InterruptedException may be thrown and the
* Processor will still work fine. Consequently, we cannot
* fail here. Besides, if the Processor fails, it will tell
* us with a ControllerEvent anyway and we will get out of
* the loop.
*/
// processor.removeControllerListener(this);
// return false;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/org/jitsi/impl/neomedia/device/PortAudioSystem.java
+
2
−
2
View file @
c1d66488
...
...
@@ -558,7 +558,7 @@ public String toString()
*/
private
static
void
waitForPaOpenStream
()
{
boolean
interrupted
=
tru
e
;
boolean
interrupted
=
fals
e
;
while
(
paOpenStream
>
0
)
{
...
...
@@ -581,7 +581,7 @@ private static void waitForPaOpenStream()
*/
private
static
void
waitForPaUpdateAvailableDeviceList
()
{
boolean
interrupted
=
tru
e
;
boolean
interrupted
=
fals
e
;
while
(
paUpdateAvailableDeviceList
>
0
)
{
...
...
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