NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_audio_cpp.cpp 文件参考

NIM 提供的语音播放工具接口(CPP接口) 更多...

命名空间

namespace  nim_audio
 NIM提供的语音播放工具
 

类型定义

typedef bool(* nim_audio::nim_audio_init_module) (const wchar_t *user_data_parent_path)
 
typedef bool(* nim_audio::nim_audio_uninit_module) ()
 
typedef bool(* nim_audio::nim_audio_play_audio) (const wchar_t *file_path, const char *call_id, const char *res_id, int audio_format)
 
typedef bool(* nim_audio::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::nim_audio_stop_play_audio) ()
 
typedef bool(* nim_audio::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::nim_audio_stop_capture) ()
 
typedef bool(* nim_audio::nim_audio_cancel_audio) (const wchar_t *file_path)
 
typedef bool(* nim_audio::nim_audio_enum_capture_device) ()
 
typedef bool(* nim_audio::nim_audio_reg_start_play_cb) (nim_rescode_id_cb cb)
 
typedef bool(* nim_audio::nim_audio_reg_stop_play_cb) (nim_rescode_id_cb cb)
 
typedef bool(* nim_audio::nim_audio_reg_start_capture_cb) (nim_rescode_cb cb)
 
typedef bool(* nim_audio::nim_audio_reg_stop_capture_cb) (nim_stop_capture_cb cb)
 
typedef bool(* nim_audio::nim_audio_reg_cancel_audio_cb) (nim_rescode_cb cb)
 
typedef bool(* nim_audio::nim_audio_reg_enum_capture_device_cb) (nim_enum_capture_device_cb cb)
 

变量

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

详细描述

NIM 提供的语音播放工具接口(CPP接口)

作者
towik, Oleg
日期
2015/2/10