ref #22 : add "duration" option

Can be used to partially process a recording
This commit is contained in:
Georgi Gerganov
2022-11-07 20:14:52 +02:00
parent 8fdfb0ba92
commit c30bffc8a5
3 changed files with 14 additions and 5 deletions

View File

@@ -186,7 +186,8 @@ extern "C" {
int n_threads;
int n_max_text_ctx;
int offset_ms;
int offset_ms; // start offset in ms
int duration_ms; // audio duration to process in ms
bool translate;
bool no_context;