AudioFrame
- Unreal 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;
AudioFrame() : type(FRAME_TYPE_PCM16),
samplesPerChannel(0),
bytesPerSample(rtc::TWO_BYTES_PER_SAMPLE),
channels(0),
samplesPerSec(0),
buffer(NULL),
renderTimeMs(0),
avsync_type(0),
};属性
| 参数名 | 描述 |
|---|---|
type | 音频帧类型,详见 AUDIO_FRAME_TYPE。 |
samplesPerChannel | |
bytesPerSample | |
channels | |
samplesPerSec | |
buffer | |
renderTimeMs | |
avsync_type |