NIM SDK API
9.0.0
nim_cpp_wrapper
helper
nim_tool_helper.h
Go to the documentation of this file.
1
7
#ifndef _NIM_SDK_CPP_TOOL_HELPER_H_
8
#define _NIM_SDK_CPP_TOOL_HELPER_H_
9
10
#include <functional>
11
#include <string>
12
#include "assert.h"
13
#include "
nim_cpp_wrapper/nim_sdk_cpp_wrapper.h
"
14
#include "nim_define_include.h"
15
#include "public_defines.h"
20
namespace
nim
{
22
struct
NIM_SDK_CPPWRAPPER_DLL_API
AudioInfo
{
23
std::string
mime_type_
;
24
std::string
samplerate_
;
25
std::string
url_
;
26
uint64_t
duration_
;
29
AudioInfo
()
30
: duration_(0) {}
31
};
32
33
}
// namespace nim
34
35
#endif //_NIM_SDK_CPP_TOOL_HELPER_H_
nim::AudioInfo::url_
std::string url_
Definition:
nim_tool_helper.h:25
nim::AudioInfo
语音信息,用于语音转文字
Definition:
nim_tool_helper.h:22
nim::AudioInfo::mime_type_
std::string mime_type_
Definition:
nim_tool_helper.h:23
nim
namespace nim
nim::AudioInfo::AudioInfo
AudioInfo()
Definition:
nim_tool_helper.h:29
nim::AudioInfo::duration_
uint64_t duration_
Definition:
nim_tool_helper.h:26
nim::AudioInfo::samplerate_
std::string samplerate_
Definition:
nim_tool_helper.h:24
nim_sdk_cpp_wrapper.h
定义导出宏
Generated on Mon Mar 14 2022 17:10:00 for NIM SDK API by
1.8.17