Skip to main content

select_voice

Function select_voice 

Source
pub fn select_voice(
    requested: Option<&str>,
    installed: &[String],
) -> Result<String, Error>
Expand description

The installed voices a request is checked against.

The engine’s own lookup falls back to a lone loaded voice when the name is unknown, which is the silent default the wire must not have.