IFlyPcmRecorderDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | IFlyPcmRecorder.h |
– onIFlyRecorderBuffer:bufferSize:
required method
回调音频数据
- (void)onIFlyRecorderBuffer:(const void *)buffer bufferSize:(int)sizeParameters
buffer |
音频数据 |
|---|---|
size |
表示音频的长度 |
Declared In
IFlyPcmRecorder.h
– onIFlyRecorderError:theError:
required method
回调音频的错误码
- (void)onIFlyRecorderError:(IFlyPcmRecorder *)recoder theError:(int)errorParameters
recoder |
录音器 |
|---|---|
error |
错误码 |
Declared In
IFlyPcmRecorder.h
– onIFlyRecorderVolumeChanged:
回调录音音量
- (void)onIFlyRecorderVolumeChanged:(int)powerParameters
power |
音量值 |
|---|
Declared In
IFlyPcmRecorder.h