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
Laurent Besacier
lig-aikuma
Commits
e2a9c3a3
Commit
e2a9c3a3
authored
Apr 25, 2016
by
CallisteHanriat
Browse files
delete preview file save
parent
39e5772b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Aikuma/src/org/lp20/aikuma/model/RecordingLig.java
View file @
e2a9c3a3
...
...
@@ -177,7 +177,7 @@ public class RecordingLig extends Recording {
}
// if the recording is original
if
(
isOriginal
())
{
/*
if (isOriginal()) {
// Import the sample wave file into the new recording directory
importWav(recordingUUID + SAMPLE_SUFFIX, PRVW_WAV_EXT);
} else {
...
...
@@ -186,7 +186,7 @@ public class RecordingLig extends Recording {
// Write the index file
super.index(sourceVerId, getVersionName() + "-" + getId());
}
}
*/
JSONObject
encodedRecording
=
this
.
encode
();
...
...
Aikuma/src/org/lp20/aikuma/ui/RecordElicitation.java
View file @
e2a9c3a3
...
...
@@ -283,7 +283,6 @@ public class RecordElicitation extends AikumaActivity {
FileUtils
.
copyFile
(
recording
.
getFile
(),
new
File
(
filename
.
replace
(
".wav"
,
"_"
+
phraseId
+
".wav"
)));
FileIO
.
delete
(
new
File
(
filename
));
FileIO
.
delete
(
new
File
(
filename
.
replace
(
".wav"
,
"-preview.wav"
)));
FileUtils
.
copyFile
(
new
File
(
filename
.
replace
(
".wav"
,
"-metadata.json"
)),
new
File
(
filename
.
replace
(
".wav"
,
"_"
+
phraseId
+
"-metadata.json"
)));
FileIO
.
delete
(
new
File
(
filename
.
replace
(
".wav"
,
"-metadata.json"
)));
...
...
Write
Preview
Supports
Markdown
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