From 5711a71d0f71f3e2817e6ee2f9c76310789ff8f1 Mon Sep 17 00:00:00 2001 From: ciricc Date: Sat, 20 Sep 2025 20:23:19 +0300 Subject: [PATCH] fix: fix sampling type --- bindings/go/pkg/whisper/consts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/go/pkg/whisper/consts.go b/bindings/go/pkg/whisper/consts.go index fbdd9c310..90ca20664 100644 --- a/bindings/go/pkg/whisper/consts.go +++ b/bindings/go/pkg/whisper/consts.go @@ -37,7 +37,7 @@ const SampleRate = whisper.SampleRate // SampleBits is the number of bytes per sample. const SampleBits = whisper.SampleBits -type SamplingStrategy whisper.SamplingStrategy +type SamplingStrategy uint32 const ( SAMPLING_GREEDY SamplingStrategy = SamplingStrategy(whisper.SAMPLING_GREEDY)