This commit is contained in:
hlhr202 2024-05-16 14:10:03 +08:00
parent cd6a633fc5
commit bf5a08dd1d
2 changed files with 4 additions and 5 deletions

View file

@ -81,7 +81,7 @@ pub unsafe fn set_log_callback(
log_callback: crate::WhisperLogCallback,
user_data: *mut std::ffi::c_void,
) {
unsafe {
unsafe {
whisper_rs_sys::whisper_log_set(log_callback, user_data);
#[cfg(feature = "metal")]
{