SuperPlayerSoundEffectVC.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // SuperPlayerSoundEffectVC.h
  3. // BuguLive
  4. //
  5. // Created by 岳克奎 on 16/12/19.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "SuperPlayerSoundEffectTitleView.h" //音效调节 标题栏View
  10. #import "SuperPlayerSoundEffectSliderView.h" //音效调节 slider View
  11. #import "SuperPlayerSoundEffectPitchView.h" //音效调节 音调 View
  12. #import "SuperPlayerSoundEffectBtnsView.h" //音效调节 音效View
  13. @protocol SuperPlayerSoundEffectVCDeleagte <NSObject>
  14. @optional
  15. // 人声 麦克风
  16. - (void)changeMicValueByVoiceSliderOfValue:(CGFloat)micValue;
  17. //伴奏
  18. - (void)changeAccompanyValueByAccompanySliderOfValue:(CGFloat)accompanyValue;
  19. //关闭 音效界面
  20. //- (void)closeSuperPlayerSoundEffectViewController;
  21. // 音调调节
  22. - (void)changeSuperPlayerSoundEffectPitchValue:(NSInteger)pitchValue;
  23. //音效类型调节
  24. - (void)changeSuperPlayerBandEQOfSlectedBtnTag:(int)selectBtnTag;
  25. @end
  26. @interface SuperPlayerSoundEffectVC : UIViewController <SuperPlayerSoundEffectTitleViewDelegate,
  27. SuperPlayerSoundEffectSliderViewDelage,
  28. SuperPlayerSoundEffectBtnsViewDeleagte,
  29. SuperPlayerSoundEffectPitchViewDelegate>
  30. @property (weak, nonatomic) IBOutlet UIView *soundEffectBGView; //音效调节背景view
  31. @property (weak, nonatomic) IBOutlet SuperPlayerSoundEffectTitleView *soundEffectTitleView;
  32. @property (weak, nonatomic) IBOutlet SuperPlayerSoundEffectSliderView *soundEffectSliderView;
  33. @property (weak, nonatomic) IBOutlet SuperPlayerSoundEffectPitchView *soundEffectPitchView;
  34. @property (weak, nonatomic) IBOutlet SuperPlayerSoundEffectBtnsView *soundEffectBtnsView;
  35. @property (assign,nonatomic)id<SuperPlayerSoundEffectVCDeleagte>delegate;
  36. + (void)showSuperPlayerSoundEffectVCOnSuperView:(UIViewController *)superViewController
  37. complete:(void(^)(BOOL finished,SuperPlayerSoundEffectVC *effectVC))block;
  38. @end
  39. // 注意当请求失败 播放器依然启动!!!