UIViewController+YOUPAIVoice.h 374 B

123456789101112131415161718
  1. //
  2. // UIViewController+YOUPAIVoice.h
  3. // MSYOUPAI
  4. //
  5. // Created by admin on 2022/3/17.
  6. // Copyright © 2022 MS. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "FSAudioStream.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface UIViewController (YOUPAIVoice)
  12. -(void)youpaifvoicePlay:(NSURL*)url cutDownblock:(void (^)(FSAudioStream*player))block;
  13. @end
  14. NS_ASSUME_NONNULL_END