mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-04 09:29:22 +08:00
fix #341 issue of cpp example coding mistake
This commit is contained in:
@@ -134,7 +134,7 @@ public:
|
||||
// b. silence >= min_slience_samples, end speaking
|
||||
else
|
||||
{
|
||||
speech_end = temp_end ?temp_end + speech_pad_samples : current_sample + speech_pad_samples;
|
||||
speech_end = temp_end ? temp_end + speech_pad_samples : current_sample + speech_pad_samples;
|
||||
temp_end = 0;
|
||||
triggerd = false;
|
||||
printf("{ end: %.3f s }\n", 1.0 * speech_end / sample_rate);
|
||||
|
||||
Reference in New Issue
Block a user