//
//  RCPCMPlayer.h
//  VclustersGemini
//
//  Created by APPLE on 2020/5/23.
//  Copyright © 2020 APPLE. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
 
#define QUEUE_BUFFER_SIZE 4   //队列缓冲个数
//#define AUDIO_BUFFER_SIZE 2048 //数据区大小
#define MAX_BUFFER_SIZE 80000 //
 

 
@interface RCPCMPlayer : NSObject
 
-(BOOL)start;
-(void)play:(NSData *)data;
-(void)stop;
 
- (id)initWithAudioBufferSize:(NSInteger)audioBufferSize mSampleRate:(NSInteger)mSampleRate mChannelsPerFrame:(NSInteger)mChannelsPerFrame;
 
@end
