NIM Tools API  5.5.0
nim_audio_def.h
Go to the documentation of this file.
1 
8 #ifndef _NIM_AUDIO_DLL_EXPORT_HEADERS_H_
9 #define _NIM_AUDIO_DLL_EXPORT_HEADERS_H_
10 
11 #ifdef __cplusplus
12 extern"C"
13 {
14 #endif
15 
18 {
19  kSuccess = 200,
20  kFailed = 100,
21  kUninitError = 101,
26  kThreadError = 300,
27 };
28 
31 {
32  AAC = 0,
33  AMR = 1,
34 };
35 
40 typedef void (*nim_rescode_cb)(int);
41 
49 typedef void (*nim_rescode_id_cb)(int rescode, const char* file_path, const char* call_id, const char* res_id);
50 
51 
62 typedef void (*nim_stop_capture_cb)(int rescode, const char* call_id, const char* res_id, const char* file_path, const char* file_ext, long file_size, int audio_duration);
63 
69 typedef void (*nim_enum_capture_device_cb)(int rescode, const wchar_t* device_list);
70 
71 #ifdef __cplusplus
72 };
73 #endif //__cplusplus
74 #endif //_NIM_AUDIO_DLL_EXPORT_HEADERS_H_
Definition: nim_audio_def.h:21
Definition: nim_audio_def.h:23
nim_audio_rescode
Definition: nim_audio_def.h:17
Definition: nim_audio_def.h:22
void(* nim_stop_capture_cb)(int rescode, const char *call_id, const char *res_id, const char *file_path, const char *file_ext, long file_size, int audio_duration)
Definition: nim_audio_def.h:62
void(* nim_rescode_id_cb)(int rescode, const char *file_path, const char *call_id, const char *res_id)
Definition: nim_audio_def.h:49
Definition: nim_audio_def.h:26
Definition: nim_audio_def.h:24
void(* nim_rescode_cb)(int)
Definition: nim_audio_def.h:40
Definition: nim_audio_def.h:33
void(* nim_enum_capture_device_cb)(int rescode, const wchar_t *device_list)
Definition: nim_audio_def.h:69
Definition: nim_audio_def.h:25
Definition: nim_audio_def.h:20
Definition: nim_audio_def.h:19
nim_audio_type
Definition: nim_audio_def.h:30
Definition: nim_audio_def.h:32