/frameworks/av/media/libaaudio/src/flowgraph/ |
D | SinkFloat.cpp | 35 int32_t framesRead = pull(framesLeft); in read() local 36 if (framesRead <= 0) { in read() 40 int32_t numSamples = framesRead * channelCount; in read() 43 framesLeft -= framesRead; in read()
|
D | SinkI16.cpp | 39 int32_t framesRead = pull(framesLeft); in read() local 40 if (framesRead <= 0) { in read() 44 int32_t numSamples = framesRead * channelCount; in read() 55 framesLeft -= framesRead; in read()
|
D | SinkI24.cpp | 40 int32_t framesRead = pull(framesLeft); in read() local 41 if (framesRead <= 0) { in read() 45 int32_t numSamples = framesRead * channelCount; in read() 63 framesLeft -= framesRead; in read()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_return_stop.cpp | 46 std::atomic<int32_t> framesRead{}; member 53 framesRead.store(0); in reset() 77 engine->framesRead = (int32_t)AAudioStream_getFramesRead(stream); in s_myDataCallbackProc() 79 engine->startingFramesRead.store(engine->framesRead.load()); in s_myDataCallbackProc() 155 const int64_t framesRead = AAudioStream_getFramesRead(engine->stream); in s_checkEnginePositions() local 157 const int32_t delta = (int32_t)(framesWritten - framesRead); in s_checkEnginePositions() 160 (int32_t) framesRead, in s_checkEnginePositions() 283 if (engine.startingFramesRead.load() == engine.framesRead.load()) { in main()
|
D | test_bad_disconnect.cpp | 40 int64_t framesRead = 0; member 55 s_AudioEngine.framesRead = AAudioStream_getFramesRead(stream); in s_myDataCallbackProc() 161 printf("playing silence #%d, framesRead = %d\n", i, (int) s_AudioEngine.framesRead); in main()
|
D | test_aaudio_monkey.cpp | 107 int64_t framesRead = AAudioStream_getFramesRead(getStream()); in validate() local 114 (unsigned long long) framesRead, in validate() 117 if (framesWritten < framesRead) { in validate() 119 (int) (framesWritten - framesRead)); in validate()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 130 int32_t framesRead = AAUDIO_ERROR_INVALID_FORMAT; in readFormattedData() local 132 framesRead = AAudioStream_read(myData->inputStream, myData->inputShortData, in readFormattedData() 136 framesRead = AAudioStream_read(myData->inputStream, myData->inputFloatData, in readFormattedData() 143 if (framesRead < 0) { in readFormattedData() 146 myData->inputError = framesRead; in readFormattedData() 147 printf("ERROR in read = %d = %s\n", framesRead, in readFormattedData() 148 AAudio_convertResultToText(framesRead)); in readFormattedData() 150 framesRead = 0; in readFormattedData() 153 myData->framesReadTotal += framesRead; in readFormattedData() 155 return framesRead; in readFormattedData() [all …]
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 186 ssize_t framesRead = mInputSource->read(mReadBuffer, frameCount); in onWork() local 189 if (framesRead >= 0) { in onWork() 190 LOG_ALWAYS_FATAL_IF((size_t) framesRead > frameCount); in onWork() 191 mTotalNativeFramesRead += framesRead; in onWork() 193 mReadBufferState = framesRead; in onWork() 194 patchBuffer.frameCount = framesRead; in onWork()
|
D | Threads.cpp | 7113 ssize_t framesRead; in threadLoop() local 7125 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, in threadLoop() 7127 if (framesRead != OVERRUN) break; in threadLoop() 7142 if (framesRead < 0) { in threadLoop() 7143 status_t status = (status_t) framesRead; in threadLoop() 7147 framesRead = 0; in threadLoop() 7151 framesRead = -1; // Will cause an attempt to recover. in threadLoop() 7166 framesRead = result; in threadLoop() 7168 framesRead = bytesRead / mFrameSize; in threadLoop() 7176 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += framesRead; in threadLoop() [all …]
|
/frameworks/av/media/libnbaio/ |
D | AudioStreamInSource.cpp | 83 size_t framesRead = bytesRead / mFrameSize; in read() local 84 mFramesRead += framesRead; in read() 85 return framesRead; in read()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 220 void AudioEndpoint::setDataReadCounter(fifo_counter_t framesRead) in setDataReadCounter() argument 222 mDataQueue->setReadCounter(framesRead); in setDataReadCounter() 230 void AudioEndpoint::setDataWriteCounter(fifo_counter_t framesRead) in setDataWriteCounter() argument 232 mDataQueue->setWriteCounter(framesRead); in setDataWriteCounter()
|
D | AudioEndpoint.h | 68 void setDataReadCounter(android::fifo_counter_t framesRead);
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 143 fifo_frames_t framesRead = numFrames - framesLeft; in read() local 144 mFifo->advanceReadIndex(framesRead); in read() 145 return framesRead; in read()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 124 const int32_t framesRead = (int32_t) AAudioStream_getFramesRead(player.getStream()); in testOpenPlayClose() local 131 framesRead, in testOpenPlayClose() 132 framesWritten - framesRead, in testOpenPlayClose()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 175 int64_t framesRead = AAudioStream_getFramesRead(aaudioStream); in main() local 177 double latencyMillis = calculateLatencyMillis(framesRead, realTime, in main()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 448 int32_t framesRead = (int32_t)(totalBytesRead / bytesPerDeviceFrame); in read() local 449 incrementFramesRead(framesRead); in read() 456 return (aaudio_result_t) framesRead; in read()
|
/frameworks/av/include/media/nbaio/ |
D | NBAIO.h | 243 virtual int64_t framesRead() const { return mFramesRead; } in framesRead() function
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | NBAIO.h | 243 virtual int64_t framesRead() const { return mFramesRead; } in framesRead() function
|