Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Teleteaching Standalone
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ttt
Teleteaching Standalone
Commits
6fa79877
Commit
6fa79877
authored
May 21, 2019
by
Dr. Michael Petter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing audio level check window when recorder is closed
parent
d94725e5
Pipeline
#1850
passed with stage
in 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
java/ttt/Recorder.java
java/ttt/Recorder.java
+2
-1
java/ttt/player/Player.java
java/ttt/player/Player.java
+7
-3
No files found.
java/ttt/Recorder.java
View file @
6fa79877
...
...
@@ -489,9 +489,10 @@ public class Recorder implements MessageConsumer, Closeable {
out
.
close
();
out
=
null
;
}
if
(
file
!=
null
)
TTT
.
userPrefs
.
put
(
"last_opened_recording"
,
file
.
getCanonicalPath
());
System
.
out
.
println
(
"Recorder stop."
);
TTT
.
verbose
(
"Recorder stop."
);
}
...
...
java/ttt/player/Player.java
View file @
6fa79877
...
...
@@ -490,6 +490,7 @@ public class Player extends JInternalFrame {
if
(
lectureProfile
.
isRecordEnabled
())
{
recorder
=
new
Recorder
(
protocol
,
lectureProfile
);
closeables
.
add
(
recorder
);
TTT
.
debug
(
"Adding recorder to closeables"
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
@@ -617,10 +618,13 @@ public class Player extends JInternalFrame {
public
void
close
()
{
// close everything
for
(
int
i
=
0
;
i
<
closeables
.
size
();
i
++)
for
(
Closeable
c
:
closeables
)
try
{
closeables
.
get
(
i
).
close
();
}
catch
(
Exception
e
)
{}
c
.
close
();
}
catch
(
Exception
e
)
{
TTT
.
debug
(
"Exeption while running over closables: "
+
e
.
toString
());
}
closeables
.
clear
();
dispose
();
...
...
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