wrap more functions
This commit is contained in:
parent
9d978add9d
commit
5eef5afd5e
2 changed files with 442 additions and 4 deletions
|
|
@ -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) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue