mirror of
https://github.com/readest/readest.git
synced 2026-04-29 20:10:55 +00:00
tts: add native tts plugin for Android (#1376)
This commit is contained in:
parent
69d418aa61
commit
f8ac30adf1
45 changed files with 2256 additions and 3 deletions
|
|
@ -0,0 +1,23 @@
|
|||
const COMMANDS: &[&str] = &[
|
||||
"init",
|
||||
"speak",
|
||||
"stop",
|
||||
"pause",
|
||||
"resume",
|
||||
"set_rate",
|
||||
"set_pitch",
|
||||
"set_voice",
|
||||
"set_primary_lang",
|
||||
"get_voices",
|
||||
"get_voice_id",
|
||||
"get_all_voices",
|
||||
"get_granularities",
|
||||
"get_speaking_lang",
|
||||
];
|
||||
|
||||
fn main() {
|
||||
tauri_plugin::Builder::new(COMMANDS)
|
||||
.android_path("android")
|
||||
.ios_path("ios")
|
||||
.build();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue