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

The request format of the audio raw data callback (unspecified by default). 更多...

#import <NERtcEngineBase.h>

类 NERtcAudioFrameRequestFormat 继承关系图:

属性

uint32_t channels
 The number of audio channels. 更多...
 
uint32_t sampleRate
 The audio sample rate. 更多...
 
NERtcAudioFrameOpMode mode
 The audio data read and write permissions. 更多...
 

详细描述

The request format of the audio raw data callback (unspecified by default).

属性说明

◆ channels

- (uint32_t) channels
readwritenonatomicassign

The number of audio channels.

If the audio is stereo, the data is interleaved.

Valid values:

  • 1: mono sound
  • 2: stereo sound

◆ mode

- (NERtcAudioFrameOpMode) mode
readwritenonatomicassign

The audio data read and write permissions.

For more information, see NERtcAudioFrameOpMode.

◆ sampleRate

- (uint32_t) sampleRate
readwritenonatomicassign

The audio sample rate.


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