ref #16, #22 : add "offset" argument

Allows to start processing the input audio at some offset from the
beginning. Useful for splitting a long job into multiple tasks.
This commit is contained in:
Georgi Gerganov
2022-10-07 22:00:40 +03:00
parent e29a5dacc6
commit 7787b878e1
3 changed files with 9 additions and 1 deletions

View File

@@ -102,6 +102,7 @@ extern "C" {
enum whisper_decode_strategy strategy;
int n_threads;
int offset_ms;
bool translate;
bool print_special_tokens;