Agora Java API Reference for Android
|
#include <AgoraMediaBase.h>
Public Attributes | |
AUDIO_FRAME_TYPE | type |
int | samplesPerChannel |
agora::rtc::BYTES_PER_SAMPLE | bytesPerSample |
int | channels |
int | samplesPerSec |
void * | buffer |
int64_t | renderTimeMs |
int64_t | captureTimeMs |
int | avsync_type |
The definition of the AudioFrame struct.
AUDIO_FRAME_TYPE agora::media::IAudioFrameObserverBase::AudioFrame::type |
The audio frame type: AUDIO_FRAME_TYPE.
int agora::media::IAudioFrameObserverBase::AudioFrame::samplesPerChannel |
The number of samples per channel in this frame.
agora::rtc::BYTES_PER_SAMPLE agora::media::IAudioFrameObserverBase::AudioFrame::bytesPerSample |
The number of bytes per sample: #BYTES_PER_SAMPLE
int agora::media::IAudioFrameObserverBase::AudioFrame::channels |
The number of audio channels (data is interleaved, if stereo).
int agora::media::IAudioFrameObserverBase::AudioFrame::samplesPerSec |
The sample rate of the audio frame.
void* agora::media::IAudioFrameObserverBase::AudioFrame::buffer |
The pointer to the audio data buffer.
int64_t agora::media::IAudioFrameObserverBase::AudioFrame::renderTimeMs |
The timestamp to render the audio data. Use this member for audio-video synchronization when rendering the audio.
int64_t agora::media::IAudioFrameObserverBase::AudioFrame::captureTimeMs |
The custom-destined capture time for av sync.