// // IBTAVAudioPlayWrapper.h // XFFruit // // Created by Xummer on 4/17/15. // Copyright (c) 2015 Xummer. All rights reserved. // #import "IBTObject.h" typedef void (^AduioPlayCompleteBlock)(BOOL finished, NSError *error); @interface IBTAVAudioPlayWrapper : IBTObject - (void)playWithPath:(NSString *)path complete:(AduioPlayCompleteBlock)complete; - (void)playWithUrl:(NSURL *)audioUrl complete:(AduioPlayCompleteBlock)complete; - (void)playWithData:(NSData *)data complete:(AduioPlayCompleteBlock)complete; - (void)stopPlay; @end