HomeSort by relevance Sort by last modified time
    Searched defs:framesToRead (Results 1 - 5 of 5) sorted by null

  /frameworks/av/media/libaaudio/src/fifo/
FifoBuffer.cpp 134 fifo_frames_t framesToRead = framesLeft;
137 if (framesToRead > framesAvailable) {
138 framesToRead = framesAvailable;
140 int32_t numBytes = convertFramesToBytes(framesToRead);
144 framesLeft -= framesToRead;
  /frameworks/av/media/libaaudio/tests/
test_atomic_fifo.cpp 129 fifo_frames_t framesToRead = std::min(framesAvailable, numFrames);
130 fifo_frames_t actual = mFifoBuffer.read(mData, framesToRead);
131 ASSERT_EQ(framesToRead, actual);
132 for (int i = 0; i < framesToRead; i++) {
  /system/media/audio_utils/tests/
fifo_tests.cpp 119 size_t framesToRead = sfinfoin.frames - framesRead;
120 if (framesToWrite == 0 && (framesToRead == 0 || !readerThrottlesWriter)) {
159 if (framesToRead > maxFramesPerRead) {
160 framesToRead = maxFramesPerRead;
162 framesToRead = rand() % (framesToRead + 1);
164 &outputBuffer[framesRead * sfinfoin.channels], framesToRead);
166 printf("read %d out of %d\n", (int) actualRead, (int) framesToRead);
168 if (actualRead < 0 || (size_t) actualRead > framesToRead) {
187 fprintf(stderr, "read from FIFO failed: actualRead=%d > framesToRead=%d\n"
    [all...]
  /frameworks/av/media/libaaudio/src/legacy/
AudioStreamRecord.cpp 414 int32_t framesToRead = std::min(framesLeft, mFormatConversionBufferSizeInFrames);
415 size_t bytesToRead = framesToRead * bytesPerDeviceFrame;
  /frameworks/av/services/audioflinger/
Threads.cpp     [all...]

Completed in 243 milliseconds