Skip to content

Commit

Permalink
wrong replace fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Dec 28, 2024
1 parent 9ce0696 commit b1f5b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whisper_ros/src/silero_vad/vad_iterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ VadIterator::VadIterator(const std::string &model_path, int sample_rate,
sample_rate(sample_rate), sr_per_ms(sample_rate / 1000),
window_size_samples(frame_size_ms * sr_per_ms),
speech_pad_samples(sr_per_ms * speech_pad_ms),
Min_silence_samples(sr_per_ms * min_silence_ms),
min_silence_samples(sr_per_ms * min_silence_ms),
context_size(sample_rate == 16000 ? 64 : 32), context(context_size, 0.0f),
state(2 * 1 * 128, 0.0f), sr(1, sample_rate) {

Expand Down

0 comments on commit b1f5b1f

Please sign in to comment.