跳转至

TKAudioFrame类

说明 类型
Inherits from NSObject
Declared in TKRoomDefines.h

概览

音频数据信息

samples

Number of samples in this frame

@property (assign, nonatomic) NSInteger samples;

bytesPerSample

NNumber of bytes per sample: 2 for PCM16

@property (assign, nonatomic) NSInteger bytesPerSample;

channels

Number of channels (data are interleaved if stereo)

@property (assign, nonatomic) NSInteger channels;

samplesPerSec

Sampling rate

@property (assign, nonatomic) NSInteger samplesPerSec;

format

Sampling format

@property (assign, nonatomic) TKSampleFormat format;

buffer

Data buffer

@property (nonatomic) void *buffer;

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号