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:
parent
1d48cb93d7
commit
5feede0b8f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user