[][src]Function ttspico_sys::pico_putTextUtf8

pub unsafe extern "C" fn pico_putTextUtf8(
    engine: pico_Engine,
    text: *const pico_Char,
    textSize: pico_Int16,
    outBytesPut: *mut pico_Int16
) -> pico_Status

Puts text 'text' encoded in UTF8 into the Pico text input buffer. 'textSize' is the maximum size in number of bytes accessible in 'text'. The input text may also contain text-input commands to change, for example, speed or pitch of the resulting speech output. The number of bytes actually copied to the Pico text input buffer is returned in 'outBytesPut'. Sentence ends are automatically detected. '\0' characters may be embedded in 'text' to finish text input or separate independently to be synthesized text parts from each other. Repeatedly calling 'pico_getData' will result in the content of the text input buffer to be synthesized (up to the last sentence end or '\0' character detected). To empty the internal buffers without finishing synthesis, use the function 'pico_resetEngine'.