EMVoiceConverter.h 445 B

12345678910111213141516171819202122
  1. //
  2. // VoiceConverter.h
  3. // Jeans
  4. //
  5. // Created by Jeans Huang on 12-7-22.
  6. // Copyright (c) 2012 __MyCompanyName__. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface EMVoiceConverter : NSObject
  10. + (int)isMP3File:(NSString *)filePath;
  11. + (int)isAMRFile:(NSString *)filePath;
  12. + (int)amrToWav:(NSString*)_amrPath wavSavePath:(NSString*)_savePath;
  13. + (int)wavToAmr:(NSString*)_wavPath amrSavePath:(NSString*)_savePath;
  14. @end