Update audio utilities

This commit is contained in:
Niko 2024-01-09 17:32:04 -07:00
parent 9861dfdb93
commit f3b155c44f
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B
4 changed files with 110 additions and 21 deletions

View file

@ -1,4 +1,5 @@
#![allow(clippy::uninlined_format_args)]
#![cfg_attr(test, feature(test))]
mod error;
mod standalone;
@ -16,6 +17,10 @@ pub use whisper_ctx::WhisperContextParameters;
pub use whisper_grammar::{WhisperGrammarElement, WhisperGrammarElementType};
pub use whisper_params::{FullParams, SamplingStrategy};
pub use whisper_state::WhisperState;
#[cfg(feature = "whisper-cpp-log")]
pub use whisper_sys_log::install_whisper_log_trampoline;
#[cfg(feature = "whisper-cpp-tracing")]
pub use whisper_sys_tracing::install_whisper_tracing_trampoline;
pub type WhisperSysContext = whisper_rs_sys::whisper_context;
pub type WhisperSysState = whisper_rs_sys::whisper_state;