//
//  AudioConverter.h
//  ContactPoster
//
//  Created by TSYH on 2024/1/25.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^ConvertCompletionHandler) (NSString *__nullable, NSString *__nullable);

@interface AudioConverter : NSObject

+ (void)convenrtToMp3WithResult:(NSString *)originalPath
                        outPath:(NSString *)outPath
                     completion:(ConvertCompletionHandler)completion;

+ (void)convertM4aToWav:(NSString *)originalPath
                outPath:(NSString *)outPath
              compltion:(ConvertCompletionHandler)compltion;

@end

NS_ASSUME_NONNULL_END
