ailiaSpeechSetConstraint method
- Pointer<
AILIASpeech> net, - Pointer<
Char> constraint, - int type
Set constraint.
Parameters:
net: A network instance pointerconstraint: The text of constraint (UTF8)type: The type of constraint (AILIA_SPEECH_CONSTRAINT_*)
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaSpeechSetConstraint(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<ffi.Char> constraint,
int type,
) {
return _ailiaSpeechSetConstraint(
net,
constraint,
type,
);
}