ailiaVoiceOpenModelFileW method
~japanese @brief モデルを指定します。(UTF16) @param net ネットワークオブジェクトポインタ @param encoder onnxファイルのパス名(UTF16) @param decoder1 onnxファイルのパス名(UTF16) @param decoder2 onnxファイルのパス名(UTF16) @param wave onnxファイルのパス名(UTF16) @param ssl onnxファイルのパス名(UTF16) @param model_type AILIA_VOICE_MODEL_TYPE_* @param cleaner_type AILIA_VOICE_CLEANER_TYPE_* @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Set models into a network instance. @param net A network instance pointer @param encoder The path name to the onnx file (UTF16) @param decoder1 The path name to the onnx file (UTF16) @param decoder2 The path name to the onnx file (UTF16) @param wave The path name to the onnx file (UTF16) @param ssl The path name to the onnx file (UTF16) @param model_type AILIA_VOICE_MODEL_TYPE_* @param cleaner_type AILIA_VOICE_CLEANER_TYPE_* @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaVoiceOpenModelFileW(
ffi.Pointer<AILIAVoice> net,
ffi.Pointer<ffi.WChar> encoder,
ffi.Pointer<ffi.WChar> decoder1,
ffi.Pointer<ffi.WChar> decoder2,
ffi.Pointer<ffi.WChar> wave,
ffi.Pointer<ffi.WChar> ssl,
int model_type,
int cleaner_type,
) {
return _ailiaVoiceOpenModelFileW(
net,
encoder,
decoder1,
decoder2,
wave,
ssl,
model_type,
cleaner_type,
);
}