Skip to content

Commit 493f4ad

Browse files
committed
perf: change audio_ctx to a multiple of 32 / 64 as suggested
ggml-org/whisper.cpp#137 (comment)
1 parent d605186 commit 493f4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native/stt_whisper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void RealtimeSttWhisper::Run()
127127
* size whisper is designed for) to speed up 2x.
128128
* https://github.com/ggerganov/whisper.cpp/issues/137#issuecomment-1318412267
129129
*/
130-
wparams.audio_ctx = 750;
130+
wparams.audio_ctx = 768;
131131

132132
/* When more than this amount of audio received, run an iteration. */
133133
const int trigger_ms = 400;

0 commit comments

Comments
 (0)