Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::AudioPcmDataInfo Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| AudioPcmDataInfo ()
| AudioPcmDataInfo (const AudioPcmDataInfo &rhs)

## Public Attributes
size_t | samplesPerChannel
int16_t | channelNum
size_t | samplesOut
int64_t | elapsedTimeMs
int64_t | ntpTimeMs

## Detailed Description

The definition of the AudioPcmDataInfo struct.

## Constructor & Destructor Documentation

## ◆ AudioPcmDataInfo() [1/2]

agora::rtc::AudioPcmDataInfo::AudioPcmDataInfo | ( |  | ) |
| inline

## ◆ AudioPcmDataInfo() [2/2]

agora::rtc::AudioPcmDataInfo::AudioPcmDataInfo | ( | const AudioPcmDataInfo & | rhs | ) |
| inline

## Member Data Documentation

## ◆ samplesPerChannel

size_t agora::rtc::AudioPcmDataInfo::samplesPerChannel

The sample count of the PCM data that you expect.

## ◆ channelNum

int16_t agora::rtc::AudioPcmDataInfo::channelNum

## ◆ samplesOut

size_t agora::rtc::AudioPcmDataInfo::samplesOut

The number of output samples.

## ◆ elapsedTimeMs

int64_t agora::rtc::AudioPcmDataInfo::elapsedTimeMs

The rendering time (ms).

## ◆ ntpTimeMs

int64_t agora::rtc::AudioPcmDataInfo::ntpTimeMs

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