Skip to content

Commit

Permalink
Another timestamp bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
nshmyrev committed Jun 29, 2020
1 parent 7f3f25e commit 8dd2166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run(self):

setuptools.setup(
name="vosk", # Replace with your own username
version="0.3.9",
version="0.3.10",
author="Alpha Cephei Inc",
author_email="[email protected]",
description="API for Kaldi and Vosk",
Expand Down
1 change: 1 addition & 0 deletions src/kaldi_recognizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ void KaldiRecognizer::CleanUp()

if (decoder_ == NULL || state_ == RECOGNIZER_FINALIZED || frame_offset_ > 20000) {
samples_round_start_ += samples_processed_;
samples_processed_ = 0;
frame_offset_ = 0;

delete decoder_;
Expand Down

0 comments on commit 8dd2166

Please sign in to comment.