代码位置:src\frameworks\av\services\audioflinger\Threads.cpp
在bool AudioFlinger::RecordThread::threadLoop();方法,
// If an NBAIO source is present, use it to read the normal capture's data
if (mPipeSource != 0) {
size_t framesToRead = mBufferSize / mFrameSize;
framesRead = mPipeSource->read(&
mRsmpInBuffer[rear * mChannelCount],
framesToRead, AudioBufferProv