|
Agora Server Gateway SDK C++ API Reference
|
#include <AgoraMediaBase.h>
Public Member Functions | |
| AudioPcmFrame & | operator= (const AudioPcmFrame &src) |
| AudioPcmFrame () | |
| AudioPcmFrame (const AudioPcmFrame &src) | |
Public Attributes | |
| OPTIONAL_ENUM_SIZE_T | |
| uint32_t | capture_timestamp |
| size_t | samples_per_channel_ |
| int | sample_rate_hz_ |
| size_t | num_channels_ |
| rtc::BYTES_PER_SAMPLE | bytes_per_sample |
| int16_t | data_ [kMaxDataSizeSamples] |
The detailed information of the incoming audio frame in the PCM format.
|
inline |
|
inline |
|
inline |
| rtc::BYTES_PER_SAMPLE agora::media::base::AudioPcmFrame::bytes_per_sample |
The number of bytes per sample.
| uint32_t agora::media::base::AudioPcmFrame::capture_timestamp |
The timestamp (ms) of the audio frame.
| int16_t agora::media::base::AudioPcmFrame::data_[kMaxDataSizeSamples] |
The audio frame data.
| size_t agora::media::base::AudioPcmFrame::num_channels_ |
The number of audio channels (data is interleaved, if stereo).
| agora::media::base::AudioPcmFrame::OPTIONAL_ENUM_SIZE_T |
The buffer size of the PCM audio frame.
| int agora::media::base::AudioPcmFrame::sample_rate_hz_ |
The sample rate (Hz) of the audio data.
| size_t agora::media::base::AudioPcmFrame::samples_per_channel_ |
The number of samples per channel.