UGCKitAudioEffectPanel.h 703 B

12345678910111213141516171819202122
  1. // Copyright (c) 2019 Tencent. All rights reserved.
  2. #import <UIKit/UIKit.h>
  3. #import "UGCKitTheme.h"
  4. #import "SDKHeader.h"
  5. NS_ASSUME_NONNULL_BEGIN
  6. @protocol UGCKitAudioEffectPanelDelegate;
  7. @interface UGCKitAudioEffectPanel : UIView
  8. @property (nullable, weak, nonatomic) id<UGCKitAudioEffectPanelDelegate> delegate;
  9. - (instancetype)initWithTheme:(UGCKitTheme*)theme frame:(CGRect)frame;
  10. @end
  11. @protocol UGCKitAudioEffectPanelDelegate <NSObject>
  12. @optional
  13. - (void)audioEffectPanel:(UGCKitAudioEffectPanel *)panel didSelectReverbType:(TXVideoReverbType)index;
  14. - (void)audioEffectPanel:(UGCKitAudioEffectPanel *)panel didSelectVoiceChangerType:(TXVideoVoiceChangerType)index;
  15. @end
  16. NS_ASSUME_NONNULL_END