IFlyAudioSession.h 483 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // IFlyAudioSession.h
  3. // MSCDemo
  4. //
  5. // Created by AlexHHC on 1/9/14.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * 音频环境初始化
  11. */
  12. @interface IFlyAudioSession : NSObject
  13. /**
  14. * 初始化播音环境
  15. *
  16. * @param isMPCenter 是否初始化MPPlayerCenter:0不初始化,1初始化
  17. */
  18. +(void) initPlayingAudioSession:(BOOL)isMPCenter;
  19. /**
  20. * 初始化录音环境
  21. *
  22. * @return 成功返回YES,失败返回NO
  23. */
  24. +(BOOL) initRecordingAudioSession;
  25. @end