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)