TKAudioFrame
TKAudioFrame class
Description | Type |
---|---|
Inherits from | NSObject |
Declared in | TKRoomDefines.h |
Overview
Audio Data Information
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;