AudioFrame
- C++
更新时间不可用
用于描述原始音频帧数据。
struct AudioFrame {
AUDIO_FRAME_TYPE type;
int samplesPerChannel;
agora::rtc::BYTES_PER_SAMPLE bytesPerSample;
int channels;
int samplesPerSec;
void* buffer;
int64_t renderTimeMs;
int avsync_type;
int64_t presentationMs;
int audioTrackNumber;
uint32_t rtpTimestamp;
};属性
| 参数名 | 描述 |
|---|---|
type | 音频帧的类型。详见 AUDIO_FRAME_TYPE。 |
samplesPerChannel | |
bytesPerSample | |
channels | |
samplesPerSec | |
buffer | |
renderTimeMs | |
avsync_type | |
presentationMs | |
audioTrackNumber | |
rtpTimestamp |