Home
last modified time | relevance | path

Searched refs:framesRead (Results 1 – 3 of 3) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dloopback_test.cpp49 int framesRead = 0; in collectRecording() local
57 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() argument
76 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 …]
Dsound_system_aaudio.cpp391 ssize_t framesRead; in drain() local
393 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() local
407 copyAudioBufferViewData(mConversionBuffer->getView(0, framesRead), buffer); in read()
408 return framesRead; in read()
Dloopback_test.h44 void receiveRecording(size_t framesRead);