feat: expose whisper_rs_sys::{whisper_context,whisper_state} for callback function
This commit is contained in:
parent
912e5a778f
commit
81e1466784
1 changed files with 3 additions and 0 deletions
|
|
@ -15,6 +15,9 @@ pub use whisper_ctx::WhisperContext;
|
|||
pub use whisper_params::{FullParams, SamplingStrategy};
|
||||
pub use whisper_state::WhisperState;
|
||||
|
||||
pub type WhisperSysContext = whisper_rs_sys::whisper_context;
|
||||
pub type WhisperSysState = whisper_rs_sys::whisper_state;
|
||||
|
||||
pub type WhisperTokenData = whisper_rs_sys::whisper_token_data;
|
||||
pub type WhisperToken = whisper_rs_sys::whisper_token;
|
||||
pub type WhisperNewSegmentCallback = whisper_rs_sys::whisper_new_segment_callback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue