mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 12:49:38 +00:00
...
This commit is contained in:
parent
359b1c8053
commit
dcaf5b914d
|
@ -312,7 +312,7 @@ impl Backend for AvFoundation {
|
|||
CFString::wrap_under_get_rule(msg_send![*v as *const Object, language])
|
||||
};
|
||||
let language = language.to_string();
|
||||
let language = LanguageTag::from_str(&language).unwrap();
|
||||
let language = LanguageTag::parse(&language).unwrap();
|
||||
Voice {
|
||||
id: id.to_string(),
|
||||
name: name.to_string(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user