TXAudioCustomProcessDelegate Protocol Reference

Conforms to NSObject
Declared in TXAudioCustomProcessDelegate.h

– onRecordRawPcmData:timeStamp:sampleRate:channels:withBgm:

原始声音的回调 @prarm data pcm数据 @prarm timeStamp 时间戳 @prarm sampleRate 采样率 @prarm channels 声道数 @prarm withBgm 回调的数据是否包含bgm,当不开启回声消除时,回调的raw pcm会包含bgm

- (void)onRecordRawPcmData:(NSData *)data timeStamp:(unsigned long long)timeStamp sampleRate:(int)sampleRate channels:(int)channels withBgm:(BOOL)withBgm

Declared In

TXAudioCustomProcessDelegate.h

– onRecordPcmData:timeStamp:sampleRate:channels:

经过特效处理的声音回调 @prarm data pcm数据 @prarm timeStamp 时间戳 @prarm sampleRate 采样率 @prarm channels 声道数

- (void)onRecordPcmData:(NSData *)data timeStamp:(unsigned long long)timeStamp sampleRate:(int)sampleRate channels:(int)channels

Declared In

TXAudioCustomProcessDelegate.h