Skip to content

Commit 6027664

Browse files
committed
get to outer if case
Former-commit-id: 8d6915d
1 parent c3618f8 commit 6027664

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lessampler.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ void lessampler::run() {
104104
x[i] = 0.0;
105105
}
106106
FileWriteUnit::WriteWav(shine_para.output_file_name, x, blank_audio_size, default_fs);
107-
YALL_OK_ << "All Process Done.";
108107
} else {
109108
// Check if an audio model exists。 If it does not exist, turn on multithreaded generation
110109
if (!audio_model_io.CheckAudioModel(configure)) {
@@ -148,9 +147,8 @@ void lessampler::run() {
148147

149148
// Save to target wav file
150149
FileWriteUnit::WriteWav(shine_para.output_file_name, out_wav_data, shine_para.output_samples, trans_audio_model.fs);
151-
152-
YALL_OK_ << "All Process Done: " + timer.EndTimer();
153150
}
151+
YALL_OK_ << "All Process Done: " + timer.EndTimer();
154152
}
155153
}
156154

0 commit comments

Comments
 (0)