1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-23 03:19:38 +00:00

Remove unnecessary debug logs.

This commit is contained in:
Nolan Darilek 2020-11-02 10:11:53 -06:00
parent 1d48cb93d7
commit 5feede0b8f

View File

@ -175,7 +175,6 @@ impl Backend for WinRT {
text: &str, text: &str,
interrupt: bool, interrupt: bool,
) -> std::result::Result<Option<UtteranceId>, Error> { ) -> std::result::Result<Option<UtteranceId>, Error> {
println!("speak({}, {})", text, interrupt);
if interrupt { if interrupt {
self.stop()?; self.stop()?;
} }
@ -185,7 +184,6 @@ impl Backend for WinRT {
let item = MediaPlaybackItem::create(source)?; let item = MediaPlaybackItem::create(source)?;
self.playback_list.items()?.append(&item)?; self.playback_list.items()?.append(&item)?;
if !self.is_speaking()? { if !self.is_speaking()? {
println!("Playing");
self.player.play()?; self.player.play()?;
} }
let mut uid = NEXT_UTTERANCE_ID.lock().unwrap(); let mut uid = NEXT_UTTERANCE_ID.lock().unwrap();