ailiaSpeechSetPrompt method

int ailiaSpeechSetPrompt(
  1. Pointer<AILIASpeech> net,
  2. Pointer<Char> prompt
)

Set prompt.

Parameters:

  • net: A network instance pointer
  • prompt: The text of prompt (UTF8)

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaSpeechSetPrompt(
  ffi.Pointer<AILIASpeech> net,
  ffi.Pointer<ffi.Char> prompt,
) {
  return _ailiaSpeechSetPrompt(
    net,
    prompt,
  );
}