TuSDKAudioEngine Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKAudioEngine.h |
– processInputBuffer:
required method
将 PCM 裸流放入 TuSDKAudioPitchEngine 队列,等待处理。
- (BOOL)processInputBuffer:(CMSampleBufferRef)inputBuffer
Parameters
inputBuffer |
输入缓存 (PCM) |
---|
Return Value
是否已处理
Availability
v3.0
Declared In
TuSDKAudioEngine.h
– processInputBufferEnd
required method
入列缓存结束调用
- (BOOL)processInputBufferEnd
Return Value
是否已处理
Availability
v3.0
Declared In
TuSDKAudioEngine.h
– processOutputBuffer:
required method
音频数据处理完成
- (void)processOutputBuffer:(CMSampleBufferRef)outputBuffer
Parameters
outputBuffer |
应用特效后的音频数据 (PCM) |
---|
Availability
v3.0
Declared In
TuSDKAudioEngine.h
– changeInputAudioInfo:
required method
改变输入采样格式
- (void)changeInputAudioInfo:(TuSDKAudioTrackInfo *)inputInfo
Parameters
inputInfo |
输入信息 |
---|
Availability
v3.0
Declared In
TuSDKAudioEngine.h