Searched refs:framesRead (Results 1 – 3 of 3) sorted by relevance
49 int framesRead = 0; in collectRecording() local57 while (framesRead <= static_cast<int>(buffer.getFrameCount())) { in collectRecording()66 AudioBufferView<double> dst = buffer.getView(framesRead, actualFrames); in collectRecording()68 framesRead += actualFrames; in collectRecording()71 return framesRead * mTestCtx->getChannelCount(); in collectRecording()74 void LoopbackTest::receiveRecording(size_t framesRead) { in receiveRecording() argument76 audio_utils_fifo_write(&mRecordingFifo, mReadBuffer.getData(), framesRead); in receiveRecording()77 if (actualFrames >= 0 && static_cast<size_t>(actualFrames) != framesRead) { in receiveRecording()79 (long long)framesRead, (long long)actualFrames); in receiveRecording()116 ssize_t framesRead = mSoundSys->readAudio(readBuffer); in writeCallback() local[all …]
391 ssize_t framesRead; in drain() local393 framesRead = mStream->read(drainBuffer); in drain()394 if (framesRead < 0) return false; in drain()395 } while (framesRead > 0); in drain()406 size_t framesRead = result; in read() local407 copyAudioBufferViewData(mConversionBuffer->getView(0, framesRead), buffer); in read()408 return framesRead; in read()
44 void receiveRecording(size_t framesRead);