TuSDKAudioPitch Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKAudioPitch.h |
mediaSync
required method
音频变调同步接口
@property (nonatomic, weak) id<TuSDKAudioPitchSync> mediaSync
Availability
v3.0
Declared In
TuSDKAudioPitch.h
inputInfo
required method
输入采样格式
@property (nonatomic, retain) TuSDKAudioTrackInfo *inputInfo
Availability
v3.0
Declared In
TuSDKAudioPitch.h
pitch
required method
改变音频音调 [速度设置将失效]
@property (nonatomic) float pitch
Parameters
pitch |
0 > pitch [大于1时声音升调,小于1时为降调] |
---|
Availability
v3.0
Declared In
TuSDKAudioPitch.h
speed
required method
改变音频播放速度 [变速不变调, 音调设置将失效]
@property (nonatomic) float speed
Parameters
speed |
0 > speed |
---|
Availability
v3.0
Declared In
TuSDKAudioPitch.h
needPitch
required method
是否需要重采样
@property (nonatomic, readonly) BOOL needPitch
Availability
v3.0
Declared In
TuSDKAudioPitch.h
– queueInputBuffer:
required method
入列缓存
- (BOOL)queueInputBuffer:(CMSampleBufferRef)inputBuffer
Parameters
inputBuffer |
输入缓存 |
---|
Return Value
是否已处理
Availability
v3.0
Declared In
TuSDKAudioPitch.h
– queueEOS
required method
入列缓存结束调用
- (BOOL)queueEOS
Return Value
是否已处理
Availability
v3.0
Declared In
TuSDKAudioPitch.h