mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 13:29:37 +00:00
*sigh* Fix stupid M1/ARM casting issue. I hate Apple.
This commit is contained in:
parent
50528ce2d1
commit
fb7f1dddfc
|
@ -269,7 +269,7 @@ impl Backend for AvFoundation {
|
|||
fn is_speaking(&self) -> Result<bool, Error> {
|
||||
trace!("is_speaking()");
|
||||
let is_speaking: i8 = unsafe { msg_send![self.synth, isSpeaking] };
|
||||
Ok(is_speaking != NO)
|
||||
Ok(is_speaking != NO as i8)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user