Update to tts v0.16.0.

This commit is contained in:
Nolan Darilek 2021-04-05 13:10:04 -05:00
parent 392c7467a9
commit a45c64b34d
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ tolk = ["tts/tolk"]
[dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = false }
crossbeam-channel = "0.5"
tts = "0.15"
tts = "0.16"
[dev-dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = true }

View File

@ -1,6 +1,6 @@
use bevy::prelude::*;
use crossbeam_channel::{unbounded, Receiver};
pub use tts::{Error, Features, UtteranceId, TTS};
pub use tts::{Error, Features, UtteranceId, Tts};
#[derive(Clone, Copy, Debug)]
pub enum TtsEvent {
@ -21,7 +21,7 @@ pub struct TtsPlugin;
impl Plugin for TtsPlugin {
fn build(&self, app: &mut AppBuilder) {
let tts = TTS::default().unwrap();
let tts = Tts::default().unwrap();
let (tx, rx) = unbounded();
let tx_begin = tx.clone();
let tx_end = tx.clone();