mirror of https://github.com/ndarilek/tts-rs.git
And this is what happens when I don't test on actual hardware.
This commit is contained in:
parent
45255a8049
commit
ed2d2e76c3
|
@ -170,7 +170,7 @@ impl Backend for AvFoundation {
|
||||||
if interrupt && self.is_speaking()? {
|
if interrupt && self.is_speaking()? {
|
||||||
self.stop()?;
|
self.stop()?;
|
||||||
}
|
}
|
||||||
let utterance: id;
|
let mut utterance: id;
|
||||||
unsafe {
|
unsafe {
|
||||||
trace!("Allocating utterance string");
|
trace!("Allocating utterance string");
|
||||||
let str = NSString::alloc(nil).init_str(text);
|
let str = NSString::alloc(nil).init_str(text);
|
||||||
|
|
Loading…
Reference in New Issue