| 継承元 | NSObject |
| 宣言された場所 | OTAudioKit.h |
概要
[OTCustomAudioTransformer transform:] メソッドに渡されるオーディオデータを定義します。 メソッド。
sampleBuffer
サンプルが格納された基盤となるバッファです。このバッファの合計サイズは
NumberOfSamples * NumberOfChannels * BitsPerSample / 8. バッファ内では、
データはサンプルごとに順次配置されており、各サンプルには
すべてのチャンネルが順次格納されています。ステレオオーディオのバッチの場合、バッファは次のような構成になります:
S1C1 S1C2 S2C1 S2C2 …
@property (nonatomic, assign) const int16_t *sampleBuffer
登録地
OTAudioKit.h
bitsPerSample
各サンプルのサイズ(ビット単位)。
@property (nonatomic, assign) uint32_t bitsPerSample
登録地
OTAudioKit.h
sampleRate
サンプルのビットレート(ビット/秒)。
@property (nonatomic, assign) uint32_t sampleRate
登録地
OTAudioKit.h
numberOfChannels
オーディオチャンネルの数。
@property (nonatomic, assign) uint64_t numberOfChannels
登録地
OTAudioKit.h
numberOfSamples
チャンネルごとのサンプル数。
@property (nonatomic, assign) uint64_t numberOfSamples
登録地
OTAudioKit.h