mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 13:09:37 +00:00
add unimplemented functions forvoices feature on every backends
This commit is contained in:
parent
b238c8c938
commit
335ac710a6
|
@ -149,6 +149,18 @@ impl Backend for SpeechDispatcher {
|
|||
let is_speaking = speaking.get(&self.0.client_id()).unwrap();
|
||||
Ok(*is_speaking)
|
||||
}
|
||||
|
||||
fn voice(&self) -> Result<String,Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn list_voices(&self) -> Vec<String> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn set_voice(&mut self, voice: &str) -> Result<(),Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for SpeechDispatcher {
|
||||
|
|
|
@ -101,4 +101,16 @@ impl Backend for Tolk {
|
|||
fn is_speaking(&self) -> Result<bool, Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn voice(&self) -> Result<String,Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn list_voices(&self) -> Vec<String> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn set_voice(&mut self, voice: &str) -> Result<(),Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -131,4 +131,16 @@ impl Backend for Web {
|
|||
Err(Error::NoneError)
|
||||
}
|
||||
}
|
||||
|
||||
fn voice(&self) -> Result<String,Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn list_voices(&self) -> Vec<String> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn set_voice(&mut self, voice: &str) -> Result<(),Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,4 +156,16 @@ impl Backend for WinRT {
|
|||
let playing = state == MediaPlaybackState::Opening || state == MediaPlaybackState::Playing;
|
||||
Ok(playing)
|
||||
}
|
||||
|
||||
fn voice(&self) -> Result<String,Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn list_voices(&self) -> Vec<String> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn set_voice(&mut self, voice: &str) -> Result<(),Error> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user