1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-22 22:59:37 +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,
interrupt: bool,
) -> std::result::Result<Option<UtteranceId>, Error> {
println!("speak({}, {})", text, interrupt);
if interrupt {
self.stop()?;
}
@ -185,7 +184,6 @@ impl Backend for WinRT {
let item = MediaPlaybackItem::create(source)?;
self.playback_list.items()?.append(&item)?;
if !self.is_speaking()? {
println!("Playing");
self.player.play()?;
}
let mut uid = NEXT_UTTERANCE_ID.lock().unwrap();