mirror of
https://github.com/lightsoutgames/bevy_tts.git
synced 2024-11-21 23:55:56 +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]
|
[dependencies]
|
||||||
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = false }
|
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = false }
|
||||||
crossbeam-channel = "0.5"
|
crossbeam-channel = "0.5"
|
||||||
tts = "0.15"
|
tts = "0.16"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = true }
|
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", default-features = true }
|
|
@ -1,6 +1,6 @@
|
||||||
use bevy::prelude::*;
|
use bevy::prelude::*;
|
||||||
use crossbeam_channel::{unbounded, Receiver};
|
use crossbeam_channel::{unbounded, Receiver};
|
||||||
pub use tts::{Error, Features, UtteranceId, TTS};
|
pub use tts::{Error, Features, UtteranceId, Tts};
|
||||||
|
|
||||||
#[derive(Clone, Copy, Debug)]
|
#[derive(Clone, Copy, Debug)]
|
||||||
pub enum TtsEvent {
|
pub enum TtsEvent {
|
||||||
|
@ -21,7 +21,7 @@ pub struct TtsPlugin;
|
||||||
|
|
||||||
impl Plugin for TtsPlugin {
|
impl Plugin for TtsPlugin {
|
||||||
fn build(&self, app: &mut AppBuilder) {
|
fn build(&self, app: &mut AppBuilder) {
|
||||||
let tts = TTS::default().unwrap();
|
let tts = Tts::default().unwrap();
|
||||||
let (tx, rx) = unbounded();
|
let (tx, rx) = unbounded();
|
||||||
let tx_begin = tx.clone();
|
let tx_begin = tx.clone();
|
||||||
let tx_end = tx.clone();
|
let tx_end = tx.clone();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user