summaryrefslogtreecommitdiffstats
path: root/Whisper/API
diff options
context:
space:
mode:
Diffstat (limited to 'Whisper/API')
-rw-r--r--Whisper/API/MfStructs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Whisper/API/MfStructs.h b/Whisper/API/MfStructs.h
index 39255de..c23d633 100644
--- a/Whisper/API/MfStructs.h
+++ b/Whisper/API/MfStructs.h
@@ -28,6 +28,9 @@ namespace Whisper
float maxDuration = 3.0f;
float dropStartSilence = 0.25f;
float pauseDuration = 0.333f;
+ // After audio is segmented using VAD, as many as this many seconds of
+ // audio will be retained as the input to the next transcription window.
+ float retainDuration = 0.25f;
// Flags for the audio capture
uint32_t flags = 0;
};