2 * Copyright 2018-2019 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef _DEPENDENCY_DEFAULT_H_
19 #define _DEPENDENCY_DEFAULT_H_
23 #include <multi_assistant_service.h>
26 #define LOG_TAG "dependency_default"
33 EXPORT_API int mas_dependency_initialize(mas_dependency_plugin_proxy_interface interfaces, int *dependency_version);
34 EXPORT_API int mas_dependency_deinitialize(void);
35 EXPORT_API int mas_dependency_set_error_callback(mas_error_cb callback, void* user_data);
36 EXPORT_API int mas_dependency_start_recording(void);
37 EXPORT_API int mas_dependency_stop_recording(void);
38 EXPORT_API int mas_dependency_set_recording_session(unsigned int session);
39 EXPORT_API int mas_dependency_set_background_volume(double ratio);
40 EXPORT_API int mas_dependency_get_audio_format(int* rate, int* channel, int* audio_type);
41 EXPORT_API int mas_dependency_get_audio_source_type(char** type);
42 EXPORT_API int mas_dependency_process_wakeup_engine_command(const char* engine_name, const char* command);
43 EXPORT_API int mas_dependency_set_voice_key_tap_duration(float duration);
44 EXPORT_API int mas_dependency_unset_voice_key_tap_duration(void);
45 EXPORT_API int mas_dependency_set_voice_key_support_mode(const char* support_mode);
46 EXPORT_API int mas_dependency_get_custom_vconf_key(const char* default_key, char** custom_key);
52 #endif /* _DEPENDENCY_DEFAULT_H_ */