NERtc Windows SDK  V4.4.301
Public 属性 | 所有成员列表
nertc::NERtcAudioFormat结构体 参考

#include <nertc_engine_defines.h>

Public 属性

NERtcAudioType type
 
uint32_t channels
 
uint32_t sample_rate
 
uint32_t bytes_per_sample
 
uint32_t samples_per_channel
 

详细描述

The audio format.

类成员变量说明

◆ bytes_per_sample

uint32_t nertc::NERtcAudioFormat::bytes_per_sample

The number of bytes per sample. For PCM, 16 bits are used, which means 2 bytes.

◆ channels

uint32_t nertc::NERtcAudioFormat::channels

the number of channels. If the audio is a stereo sound, the data interleaved. mono: 1. stereo: 2.

◆ sample_rate

uint32_t nertc::NERtcAudioFormat::sample_rate

The sample rate.

◆ samples_per_channel

uint32_t nertc::NERtcAudioFormat::samples_per_channel

The number of samples per room.

◆ type

NERtcAudioType nertc::NERtcAudioFormat::type

Audio type.


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