2 * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (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://www.apache.org/licenses/LICENSE-2.0
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 __VC_AUDIO_MANAGER_H__
19 #define __VC_AUDIO_MANAGER_H__
27 typedef int (*dependency_audio_manager_feed_audio_data)(const void* data, const unsigned int length);
29 int vcd_dependency_initialize(sound_stream_info_h stream_info_h, dependency_audio_manager_feed_audio_data callback);
30 int vcd_dependency_deinitialize(void);
31 int vcd_dependency_set_audio_info(sound_stream_info_h stream_info_h, const char* audio_source_type, vce_audio_type_e type, int rate, int channel);
32 int vcd_dependency_get_audio_source_type(char** audio_source_type);
33 int vcd_dependency_set_streaming_mode(vc_audio_streaming_mode_e mode);
34 int vcd_dependency_start_recording(void);
35 int vcd_dependency_stop_recording(void);
41 #endif /* __VC_AUDIO_MANAGER_H__ */