NIM PC Cross Platform SDK
nim_audio Namespace Reference

NIM提供的语音播放工具 More...

Classes

class  Audio
 NIM 提供的语音录制和播放接口 More...
 

Typedefs

typedef bool(* nim_audio_init_module) (const wchar_t *user_data_parent_path)
 
typedef bool(* nim_audio_uninit_module) ()
 
typedef bool(* nim_audio_play_audio) (const wchar_t *file_path, const char *call_id, const char *res_id, int audio_format)
 
typedef bool(* nim_audio_play_audio_ex) (const wchar_t *file_path, const char *call_id, const char *res_id, int audio_format, int seek)
 
typedef bool(* nim_audio_stop_play_audio) ()
 
typedef bool(* nim_audio_start_capture) (const char *call_id, const char *res_id, int audio_format, int volume, const wchar_t *capture_device)
 
typedef bool(* nim_audio_stop_capture) ()
 
typedef bool(* nim_audio_cancel_audio) (const wchar_t *file_path)
 
typedef bool(* nim_audio_enum_capture_device) ()
 
typedef bool(* nim_audio_reg_start_play_cb) (nim_rescode_id_cb cb)
 
typedef bool(* nim_audio_reg_stop_play_cb) (nim_rescode_id_cb cb)
 
typedef bool(* nim_audio_reg_start_capture_cb) (nim_rescode_cb cb)
 
typedef bool(* nim_audio_reg_stop_capture_cb) (nim_stop_capture_cb cb)
 
typedef bool(* nim_audio_reg_cancel_audio_cb) (nim_rescode_cb cb)
 
typedef bool(* nim_audio_reg_enum_capture_device_cb) (nim_enum_capture_device_cb cb)
 

Variables

static const std::wstring kSdkAudioDll = L"nim_audio.dll"
 

Detailed Description

NIM提供的语音播放工具