IFlyPcmRecorderDelegate Protocol Reference

Conforms to NSObject
Declared in IFlyPcmRecorder.h

Overview

录音协议

– onIFlyRecorderBuffer:bufferSize: required method

回调音频数据

- (void)onIFlyRecorderBuffer:(const void *)buffer bufferSize:(int)size

Parameters

buffer

音频数据

size

表示音频的长度

Declared In

IFlyPcmRecorder.h

– onIFlyRecorderError:theError: required method

回调音频的错误码

- (void)onIFlyRecorderError:(IFlyPcmRecorder *)recoder theError:(int)error

Parameters

recoder

录音器

error

错误码

Declared In

IFlyPcmRecorder.h

– onIFlyRecorderVolumeChanged:

回调录音音量

- (void)onIFlyRecorderVolumeChanged:(int)power

Parameters

power

音量值

Declared In

IFlyPcmRecorder.h