跳转至
400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

TKAudioFrame类

概览

音频数据信息

samples
Number of samples in this frame

public int samples;

bytesPerSample
Number of bytes per sample: 2 for PCM16

public int bytesPerSample;

channels
Number of channels (data are interleaved if stereo)

public int channels;

samplesPerSec
Sampling rate

public int samplesPerSec;

format
Sampling format

public int format;

buffer
Data buffer

public byte[] buffer;