Agora RTC Objective-C API Reference  Refactor
Data Fields
AudioPcmDataInfo Struct Reference

Data Fields

size_t samplesPerChannel
 
size_t samplesOut
 
int64_t elapsedTimeMs
 
int64_t ntpTimeMs
 

Detailed Description

The definition of the AudioPcmDataInfo struct.

Constructor & Destructor Documentation

◆ AudioPcmDataInfo() [1/2]

AudioPcmDataInfo ( )
inline

◆ AudioPcmDataInfo() [2/2]

AudioPcmDataInfo ( const AudioPcmDataInfo rhs)
inline

Field Documentation

◆ samplesPerChannel

size_t samplesPerChannel

The sample count of the PCM data that you expect.

◆ channelNum

int16_t channelNum

◆ samplesOut

size_t samplesOut

The number of output samples.

◆ elapsedTimeMs

int64_t elapsedTimeMs

The rendering time (ms).

◆ ntpTimeMs

int64_t ntpTimeMs

The NTP (Network Time Protocol) timestamp (ms).