TCVideoRecordMusicView.h 802 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // VideoRecordMusicView.h
  3. // TXLiteAVDemo
  4. //
  5. // Created by zhangxiang on 2017/9/13.
  6. // Copyright © 2017年 Tencent. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol VideoRecordMusicViewDelegate <NSObject>
  10. -(void)onBtnMusicSelected;
  11. -(void)onBtnMusicStoped;
  12. -(void)onBGMValueChange:(CGFloat)percent;
  13. -(void)onVoiceValueChange:(CGFloat)percent;
  14. -(void)onBGMRangeChange:(CGFloat)startPercent endPercent:(CGFloat)endPercent;
  15. @optional
  16. ///混响
  17. -(void)selectAudioEffect:(NSInteger)index;
  18. /// 变声类型
  19. -(void)selectAudioEffect2:(NSInteger)index;
  20. @end
  21. @interface TCVideoRecordMusicView : UIView
  22. @property(nonatomic,weak) id<VideoRecordMusicViewDelegate> delegate;
  23. -(instancetype)initWithFrame:(CGRect)frame needEffect:(BOOL)needEffect;
  24. -(void) resetVolume;
  25. -(void) resetCutView;
  26. @end