NERtc Windows SDK
Public Attributes | List of all members
nertc::NERtcAudioFormat Struct Reference

#include <nertc_engine_defines.h>

Public Attributes

NERtcAudioType type
 
uint32_t channels
 
uint32_t sample_rate
 
uint32_t bytes_per_sample
 
uint32_t samples_per_channel
 

Detailed Description

音频格式。

Member Data Documentation

uint32_t nertc::NERtcAudioFormat::bytes_per_sample

每个采样点的字节数。对于 PCM 来说,一般使用 16 bit,即两个字节。

uint32_t nertc::NERtcAudioFormat::channels

音频声道数量。如果是立体声,数据是交叉的。单声道: 1;双声道 : 2。

uint32_t nertc::NERtcAudioFormat::sample_rate

采样率。

uint32_t nertc::NERtcAudioFormat::samples_per_channel

每个房间的样本数量。

NERtcAudioType nertc::NERtcAudioFormat::type

音频类型。


The documentation for this struct was generated from the following file: