mirror of https://github.com/ndarilek/tts-rs.git
Find/replace is failing me today.
This commit is contained in:
parent
336c266ed4
commit
6dbf9b7ddc
|
@ -202,9 +202,9 @@ impl Tts {
|
||||||
Ok(Tts(Box::new(tts)))
|
Ok(Tts(Box::new(tts)))
|
||||||
}
|
}
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
Backends::AppKit => Ok(TTS(Box::new(backends::AppKit::new()))),
|
Backends::AppKit => Ok(Tts(Box::new(backends::AppKit::new()))),
|
||||||
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
||||||
Backends::AvFoundation => Ok(TTS(Box::new(backends::AvFoundation::new()))),
|
Backends::AvFoundation => Ok(Tts(Box::new(backends::AvFoundation::new()))),
|
||||||
#[cfg(target_os = "android")]
|
#[cfg(target_os = "android")]
|
||||||
Backends::Android => {
|
Backends::Android => {
|
||||||
let tts = backends::Android::new()?;
|
let tts = backends::Android::new()?;
|
||||||
|
|
Loading…
Reference in New Issue