1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 13:49:36 +00:00

Find/replace is failing me today.

This commit is contained in:
Nolan Darilek 2021-03-31 11:01:26 -05:00
parent 336c266ed4
commit 6dbf9b7ddc

View File

@ -202,9 +202,9 @@ impl Tts {
Ok(Tts(Box::new(tts)))
}
#[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"))]
Backends::AvFoundation => Ok(TTS(Box::new(backends::AvFoundation::new()))),
Backends::AvFoundation => Ok(Tts(Box::new(backends::AvFoundation::new()))),
#[cfg(target_os = "android")]
Backends::Android => {
let tts = backends::Android::new()?;