RCAudioRecoderMamager.h 580 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // AudioRecoderMamager.h
  3. // VclustersGemini
  4. //
  5. // Created by APPLE on 2019/12/25.
  6. // Copyright © 2019 APPLE. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @protocol AudioRecoderMamagerDelegate <NSObject>
  11. - (void)audioOutPutData:(void *)audioData dataLenth:(NSInteger)lenth;
  12. @end
  13. @interface RCAudioRecoderMamager : NSObject
  14. @property (nonatomic, weak) id<AudioRecoderMamagerDelegate> delegate;
  15. @property (nonatomic, assign, readonly) BOOL isRecoding;
  16. - (void)startRecording;
  17. - (void)stopRecording;
  18. @end
  19. NS_ASSUME_NONNULL_END