mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-23 07:09:37 +00:00
Nolan Darilek
45c7b1afc7
* Move autogenerated code to subcrate to speed up compilation. * `is_speaking` also checks whether a source is opening, in addition to whether it is playing. * Return to using autoplay.
13 lines
292 B
Rust
13 lines
292 B
Rust
winrt::build!(
|
|
dependencies
|
|
os
|
|
types
|
|
windows::media::core::MediaSource
|
|
windows::media::playback::{MediaPlaybackItem, MediaPlaybackList, MediaPlaybackState, MediaPlayer}
|
|
windows::media::speech_synthesis::SpeechSynthesizer
|
|
);
|
|
|
|
fn main() {
|
|
build();
|
|
}
|