mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update cutsplit step
This commit is contained in:
parent
0b259a6916
commit
6dcd960fda
@ -1096,7 +1096,7 @@ void Audio::CutSplit(OfflineStream* offline_stream)
|
||||
delete frame;
|
||||
frame = nullptr;
|
||||
|
||||
int step = dest_sample_rate*10;
|
||||
int step = dest_sample_rate*1;
|
||||
bool is_final=false;
|
||||
vector<std::vector<int>> vad_segments;
|
||||
for (int sample_offset = 0; sample_offset < speech_len; sample_offset += std::min(step, speech_len - sample_offset)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user