1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 11:49:37 +00:00

Remove unnecessary printlns and link directives.

This commit is contained in:
Nolan Darilek 2022-05-09 08:46:46 -05:00
parent 4079f4b3c4
commit 40e28876b2
2 changed files with 0 additions and 8 deletions

View File

@ -1,5 +1,4 @@
#[cfg(target_os = "macos")]
#[link(name = "AppKit", kind = "framework")]
use cocoa_foundation::base::{id, nil};
use cocoa_foundation::foundation::NSString;
use log::{info, trace};

View File

@ -1,5 +1,4 @@
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[link(name = "AVFoundation", kind = "framework")]
use std::{str::FromStr, sync::Mutex};
use cocoa_foundation::base::{id, nil, NO};
@ -42,12 +41,6 @@ impl AvFoundation {
utterance: id,
) {
trace!("speech_synthesizer_did_start_speech_utterance");
let vid: id = unsafe { msg_send![utterance, voice] };
if vid == nil {
println!("nil voice");
} else {
println!("Got voice ID");
}
unsafe {
let backend_id: u64 = *this.get_ivar("backend_id");
let backend_id = BackendId::AvFoundation(backend_id);