Public Member Functions

 AudioPcmFrame (u64_t frame_ms, uint_t sample_rates, uint_t samples)
 
 ~AudioPcmFrame ()
 

Public Attributes

u64_t frame_ms_
 
uint_t channels_
 
uint_t sample_bits_
 
uint_t sample_rates_
 
uint_t samples_
 
const uchar_tpcmBuf_
 
uint_t pcmBufSize_
 

Detailed Description

The parameters of the audio frame in PCM format.

Constructor & Destructor Documentation

◆ AudioPcmFrame()

agora::linuxsdk::AudioPcmFrame::AudioPcmFrame ( u64_t  frame_ms,
uint_t  sample_rates,
uint_t  samples 
)

◆ ~AudioPcmFrame()

agora::linuxsdk::AudioPcmFrame::~AudioPcmFrame ( )

Member Data Documentation

◆ frame_ms_

u64_t agora::linuxsdk::AudioPcmFrame::frame_ms_

Timestamp of the frame.

◆ channels_

uint_t agora::linuxsdk::AudioPcmFrame::channels_

Number of audio channels.

◆ sample_bits_

uint_t agora::linuxsdk::AudioPcmFrame::sample_bits_

Bitrate of the sampling data.

◆ sample_rates_

uint_t agora::linuxsdk::AudioPcmFrame::sample_rates_

Sampling rate.

◆ samples_

uint_t agora::linuxsdk::AudioPcmFrame::samples_

Number of samples of the frame.

◆ pcmBuf_

const uchar_t* agora::linuxsdk::AudioPcmFrame::pcmBuf_

Audio frame buffer.

◆ pcmBufSize_

uint_t agora::linuxsdk::AudioPcmFrame::pcmBufSize_

Size of the audio frame buffer.