update upstream whisper.cpp and fix breaking changes

This commit is contained in:
0/0 2022-10-28 19:37:42 -06:00
parent 4ccd746949
commit 1632ac11fe
No known key found for this signature in database
GPG key ID: DE8D5010C0AAA3DC
10 changed files with 657 additions and 402 deletions

View file

@ -10,6 +10,7 @@ pub use error::WhisperError;
pub use standalone::*;
pub use utilities::*;
pub use whisper_ctx::WhisperContext;
pub use whisper_params::{DecodeStrategy, FullParams};
pub use whisper_params::{FullParams, SamplingStrategy};
pub type WhisperToken = std::ffi::c_int;
pub type WhisperNewSegmentCallback = whisper_rs_sys::whisper_new_segment_callback;