| 1 | /* |
| 2 | * Copyright 2024 KylinSoft Co., Ltd. |
| 3 | * |
| 4 | * This program is free software: you can redistribute it and/or modify it under |
| 5 | * the terms of the GNU General Public License as published by the Free Software |
| 6 | * Foundation, either version 3 of the License, or (at your option) any later |
| 7 | * version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 11 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 12 | * details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License along with |
| 15 | * this program. If not, see <https://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #ifndef _KYLIN_AI_CORE_AI_SPEECH_CONFIG_H |
| 19 | #define _KYLIN_AI_CORE_AI_SPEECH_CONFIG_Hcxx . . $ `include/kylin-ai/coreai/speech/config.h:19:9`! |
| 20 | |
| 21 | #include "kylin-ai/common/enums.h" |
| 22 | #include "kylin-ai/common/macros.h" |
| 23 | |
| 24 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 25 | extern "C" { |
| 26 | #endif |
| 27 | |
| 28 | typedef struct _SpeechModelConfigcxx . . $ _SpeechModelConfig# SpeechModelConfig; |
| 29 | |
| 30 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 31 | SpeechModelConfig *speech_model_config_create(); |
| 32 | |
| 33 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 34 | void speech_model_config_destroy(SpeechModelConfig **config); |
| 35 | |
| 36 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 37 | void speech_model_config_set_name(SpeechModelConfig *config, const char *name); |
| 38 | |
| 39 | AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`! |
| 40 | void speech_model_config_set_deploy_type(SpeechModelConfig *config, |
| 41 | ModelDeployTypecxx . . $ ModelDeployType# type); |
| 42 | |
| 43 | #ifdef __cpluspluscxx . . $ `<built-in>:470:9`! |
| 44 | } |
| 45 | #endif |
| 46 | |
| 47 | #endif //_KYLIN_AI_CORE_AI_SPEECH_CONFIG_H |