Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
agora::rtc::AudioPcmDataInfo Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| 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.

## Member Data Documentation

## ◆ samplesPerChannel

size_t agora::rtc::AudioPcmDataInfo::samplesPerChannel

The sample count of the PCM data that you expect.

## ◆ 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).