NERtc iOS SDK  V4.4.301
属性 | 所有成员列表
NERtcAudioFormat类 参考

The audio format 更多...

#import <NERtcEngineBase.h>

类 NERtcAudioFormat 继承关系图:

属性

NERtcAudioType type
 The audio PCM type. 更多...
 
uint32_t channels
 The number of audio channels. 更多...
 
uint32_t sampleRate
 The audio sample rate. 更多...
 
uint32_t bytesPerSample
 The number of bytes per sample. 更多...
 
uint32_t samplesPerChannel
 The number of samples for each channel. 更多...
 

详细描述

The audio format

属性说明

◆ bytesPerSample

- (uint32_t) bytesPerSample
readwritenonatomicassign

The number of bytes per sample.

◆ channels

- (uint32_t) channels
readwritenonatomicassign

The number of audio channels.

1: mono sound 2: stereo sound

◆ sampleRate

- (uint32_t) sampleRate
readwritenonatomicassign

The audio sample rate.

◆ samplesPerChannel

- (uint32_t) samplesPerChannel
readwritenonatomicassign

The number of samples for each channel.

◆ type

- (NERtcAudioType) type
readwritenonatomicassign

The audio PCM type.

For more information, see NERtcAudioType.


该类的文档由以下文件生成: