//
//  HWMSDKAudioFrameDataModel.h
//  HWMSDKSDK
//
//  Automatically generated file. DO NOT MODIFY!!!
//

#import <Foundation/Foundation.h>
#import "HWMSDKCommonDefine.h"

NS_ASSUME_NONNULL_BEGIN

@interface HWMSDKAudioFrameDataModel : NSObject

/// 音频帧类型
@property (nonatomic, assign) HWMAudioFrameType eFrameType;
/// 每个声道的采样点数,iSamples=iSamplesPerSec  10ms /1000
@property (nonatomic, assign) NSInteger iSamples;
/// 采样率
@property (nonatomic, assign) NSInteger iSamplesPerSec;
/// 每个采样点的字节数,pcm数据一般16bit
@property (nonatomic, assign) NSInteger iBytesPerSample;
/// 声道数
@property (nonatomic, assign) NSInteger iChannels;
/// 数据缓冲区,长度=iSamplesiBytesPerSampleiChannels
@property (nonatomic, strong) NSData *pBuffer;
/// 编码后或解码前使用该字段表示数据长度，加解密处理后需更新此字段值
@property (nonatomic, assign) NSInteger uiDataLen;

@end

NS_ASSUME_NONNULL_END

