mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-22 17:29:37 +00:00
Change example to expose more WinRT breakage.
This commit is contained in:
parent
6b74afe503
commit
204cd50935
|
@ -15,7 +15,7 @@ fn main() -> Result<(), Error> {
|
||||||
let mut tts = TTS::default()?;
|
let mut tts = TTS::default()?;
|
||||||
let mut bottles = 99;
|
let mut bottles = 99;
|
||||||
while bottles > 0 {
|
while bottles > 0 {
|
||||||
tts.speak(format!("{} bottles of beer on the wall,", bottles), false)?;
|
tts.speak(format!("{} bottles of beer on the wall,", bottles), true)?;
|
||||||
tts.speak(format!("{} bottles of beer,", bottles), false)?;
|
tts.speak(format!("{} bottles of beer,", bottles), false)?;
|
||||||
tts.speak("Take one down, pass it around", false)?;
|
tts.speak("Take one down, pass it around", false)?;
|
||||||
tts.speak("Give us a bit to drink this...", false)?;
|
tts.speak("Give us a bit to drink this...", false)?;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user