mirror of
https://github.com/lightsoutgames/bevy_tts.git
synced 2024-11-13 00:35:55 +00:00
Update to tts v0.16.0.
This commit is contained in:
parent
392c7467a9
commit
a45c64b34d
|
@ -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 }
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user