diff --git a/src/backends/tolk.rs b/src/backends/tolk.rs index 45e2f0b..55da024 100644 --- a/src/backends/tolk.rs +++ b/src/backends/tolk.rs @@ -4,7 +4,7 @@ use std::sync::Arc; use log::{info, trace}; use tolk::Tolk as TolkPtr; -use crate::{Backend, BackendId, Error, Features, UtteranceId}; +use crate::{Backend, BackendId, Error, Features, UtteranceId, Voice}; #[derive(Clone, Debug)] pub(crate) struct Tolk(Arc); @@ -109,15 +109,15 @@ impl Backend for Tolk { unimplemented!() } - fn voice(&self) -> Result { + fn voice(&self) -> Result { unimplemented!() } - fn list_voices(&self) -> Vec { + fn voices(&self) -> Result, Error> { unimplemented!() } - fn set_voice(&mut self, voice: &str) -> Result<(), Error> { + fn set_voice(&mut self, _voice: &Voice) -> Result<(), Error> { unimplemented!() } }