C++SDK  1.0.0
Public 成员函数 | Public 属性 | 友元 | 所有成员列表
AudioParams结构体 参考

#include <common.h>

Public 成员函数

 AudioParams ()
 
 AudioParams (uint32 c, uint32 s, uint32 b)
 

Public 属性

uint32 channel
 
uint32 sampleRate
 
uint32 bitrate
 

友元

std::ostream & operator<< (std::ostream &ost, const AudioParams &o)
 

详细描述

音频参数结构.

音频参数结构定义了音频采集、传输等相关参数信息。

构造及析构函数说明

AudioParams::AudioParams ( )
inline
AudioParams::AudioParams ( uint32  c,
uint32  s,
uint32  b 
)
inline

友元及相关函数文档

std::ostream& operator<< ( std::ostream &  ost,
const AudioParams o 
)
friend

类成员变量说明

uint32 AudioParams::bitrate

编码比特率,默认96kbps

uint32 AudioParams::channel

通道数,默认1

uint32 AudioParams::sampleRate

采样率,默认44100


该结构体的文档由以下文件生成: