跳转至
400-881-9892

文档中心

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

文档中心 互动课堂

TKAudioFrame

TKAudioFrame Class

Overview
  • Audio Data Information

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;