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

  /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/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;
FifoBuffer.h 52 fifo_frames_t read(void *destination, fifo_frames_t 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++) {
  /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 660 milliseconds