TuSDKMediaAudioEffect Class Reference
Inherits from | TuSDKMediaEffectCore : NSObject |
---|---|
Declared in | TuSDKMediaAudioEffect.h |
– initWithAudioURL:
初始化 TuSDKMediaAudioEffectData
- (instancetype)initWithAudioURL:(NSURL *)audioURL
Parameters
audioURL |
音效地址 |
---|
Return Value
TuSDKMediaAudioEffectData
Declared In
TuSDKMediaAudioEffect.h
– initWithAudioURL:atTimeRange:
初始化 TuSDKMediaAudioEffectData
- (instancetype)initWithAudioURL:(NSURL *)audioURL atTimeRange:(TuSDKTimeRange *)timeRange
Parameters
audioURL |
音效地址 |
---|---|
timeRange |
时间区间 |
Return Value
TuSDKMediaAudioEffectData
Declared In
TuSDKMediaAudioEffect.h
audioVolume
设置音量大小 (0 - 1)
@property (nonatomic, assign) CGFloat audioVolume
Discussion
设置音效的音量大小
Declared In
TuSDKMediaAudioEffect.h
volumeChangedBlock
监听音量大小
@property (nonatomic, strong) TuSDKMediaAudioEffectVolumeChangedBlock volumeChangedBlock
Discussion
开发者不应使用该属性
Declared In
TuSDKMediaAudioEffect.h
looping
设置是否要循环播放音效 默认:YES
@property (nonatomic) BOOL looping
Availability
v3.0.1
Declared In
TuSDKMediaAudioEffect.h
inputAudioTime
输入的音频持续时间 @sicne v3.4.0
@property (nonatomic, readonly) CMTime inputAudioTime
Declared In
TuSDKMediaAudioEffect.h