wrap more functions

This commit is contained in:
jiahua 2024-04-25 15:55:17 +08:00
parent 9d978add9d
commit 5eef5afd5e
2 changed files with 442 additions and 4 deletions

View file

@ -511,7 +511,7 @@ impl WhisperContext {
///
/// # C++ equivalent
/// `bool whisper_full_get_segment_speaker_turn_next(struct whisper_context * ctx, int i_segment)`
pub fn full_get_segment_speaker_turn_next(&mut self, i_segment: c_int) -> bool {
pub fn full_get_segment_speaker_turn_next(&self, i_segment: c_int) -> bool {
unsafe { whisper_rs_sys::whisper_full_get_segment_speaker_turn_next(self.ctx, i_segment) }
}
}