|
Media Player Kit v1.3.0 API Reference for Windows
|
Public Types | |
| enum | : size_t { kMaxDataSizeSamples = 3840 , kMaxDataSizeBytes = kMaxDataSizeSamples * sizeof(int16_t) } |
Public Member Functions | |
| AudioPcmFrame () | |
Public Attributes | |
| uint32_t | capture_timestamp = 0 |
| size_t | samples_per_channel_ = 0 |
| int | sample_rate_hz_ = 0 |
| size_t | num_channels_ = 0 |
| size_t | bytes_per_sample = 0 |
| int16_t | data_ [kMaxDataSizeSamples] = {0} |
The detailed information of the incoming audio frame in the PCM format.
| anonymous enum : size_t |
The size of the audio data buffer.
|
inline |
| uint32_t agora::media::base::AudioPcmFrame::capture_timestamp = 0 |
The timestamp (ms) of current audio frame.
| size_t agora::media::base::AudioPcmFrame::samples_per_channel_ = 0 |
The number of samples per channel.
| int agora::media::base::AudioPcmFrame::sample_rate_hz_ = 0 |
The sample rate (Hz) of the audio data.
| size_t agora::media::base::AudioPcmFrame::num_channels_ = 0 |
The channel number.
| size_t agora::media::base::AudioPcmFrame::bytes_per_sample = 0 |
The number of bytes per sample.
| int16_t agora::media::base::AudioPcmFrame::data_[kMaxDataSizeSamples] = {0} |
The max number of the bytes of the data.