mirror of https://github.com/ndarilek/tts-rs.git
*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> {
|
fn is_speaking(&self) -> Result<bool, Error> {
|
||||||
trace!("is_speaking()");
|
trace!("is_speaking()");
|
||||||
let is_speaking: i8 = unsafe { msg_send![self.synth, isSpeaking] };
|
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