/frameworks/av/media/libaaudio/tests/ |
D | test_full_queue.cpp | 98 int64_t framesWritten = AAudioStream_getFramesWritten(aaudioStream); in checkFullQueue() local 101 __func__, (intmax_t) framesRead, (intmax_t) framesWritten, in checkFullQueue() 102 (intmax_t)(framesWritten - framesRead)); in checkFullQueue() 112 framesWritten = AAudioStream_getFramesWritten(aaudioStream); in checkFullQueue() 114 } while ((framesRead > framesWritten) in checkFullQueue() 117 EXPECT_LE(framesRead, framesWritten); in checkFullQueue() 121 __func__, (intmax_t) framesRead, (intmax_t) framesWritten, in checkFullQueue() 122 (intmax_t)(framesWritten - framesRead)); in checkFullQueue()
|
D | test_recovery.cpp | 100 int32_t framesWritten = AAudioStream_write(aaudioStream, in main() local 103 if (framesWritten < 0) { in main() 104 result = framesWritten; in main() 108 } else if (framesWritten != framesPerBurst) { in main() 109 printf("write() returned %d, frames = %d\n", framesWritten, (int)framesTotal); in main() 112 framesTotal += framesWritten; in main()
|
D | test_aaudio_monkey.cpp | 111 int64_t framesWritten = AAudioStream_getFramesWritten(getStream()); in validate() local 116 (unsigned long long) framesWritten, in validate() 120 if (state != AAUDIO_STREAM_STATE_STARTING && framesWritten < framesRead) { in validate() 122 (int) (framesWritten - framesRead)); in validate()
|
D | test_return_stop.cpp | 156 const int64_t framesWritten = AAudioStream_getFramesWritten(engine->stream); in s_checkEnginePositions() local 157 const int32_t delta = (int32_t)(framesWritten - framesRead); in s_checkEnginePositions() 161 (int32_t) framesWritten, in s_checkEnginePositions()
|
D | test_steal_exclusive.cpp | 217 const int64_t framesWritten = AAudioStream_getFramesWritten(mStream); in checkEnginePositions() local 218 const int32_t delta = (int32_t)(framesWritten - framesRead); in checkEnginePositions() 223 (int32_t) framesWritten, in checkEnginePositions()
|
/frameworks/av/services/audioflinger/fastpath/ |
D | FastCapture.cpp | 206 const ssize_t framesWritten = mPipeSink->write(mReadBuffer, mReadBufferState); in onWork() local 212 mReadBuffer, mFormat.mFormat, framesWritten * mFormat.mChannelCount); in onWork() 213 patchBuffer.frameCount = framesWritten; in onWork() 215 } else if (cblk != nullptr && framesWritten > 0) { in onWork() 220 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork() 221 cblk->mServer += framesWritten; in onWork()
|
D | FastMixer.cpp | 482 const ssize_t framesWritten = mOutputSink->write(buffer, frameCount); in onWork() local 485 if (framesWritten >= 0) { in onWork() 486 ALOG_ASSERT((size_t) framesWritten <= frameCount); in onWork() 487 mTotalNativeFramesWritten += framesWritten; in onWork()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternalPlay.cpp | 244 int32_t framesWritten = writeNowWithConversion(buffer, numFrames); in processDataNow() local 248 ATRACE_INT("aaWrote", framesWritten); in processDataNow() 263 if (framesWritten != 0) { in processDataNow() 292 return framesWritten; in processDataNow()
|
D | AudioEndpoint.h | 80 void setDataWriteCounter(android::fifo_counter_t framesWritten);
|
D | AudioStreamInternal.cpp | 440 if (const android::fifo_frames_t framesWritten = in exitStandby_l() local 442 framesWritten != fullFramesAvailable) { in exitStandby_l() 444 "frames to write: %d", framesWritten, fullFramesAvailable); in exitStandby_l()
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 172 fifo_frames_t framesWritten = numFrames - framesLeft; in write() local 173 mFifo->advanceWriteIndex(framesWritten); in write() 174 return framesWritten; in write()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 128 … const int32_t framesWritten = (int32_t) AAudioStream_getFramesWritten(player.getStream()); in testOpenPlayClose() local 138 framesWritten, in testOpenPlayClose() 140 framesWritten - framesRead, in testOpenPlayClose()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 729 int32_t framesWritten = AAudioStream_getFramesWritten(inputStream); in main() local 730 const int64_t framesAvailable = framesWritten - framesRead; in main() 733 printf(" framesWritten = %8d\n", framesWritten); in main() 749 int32_t framesWritten = AAudioStream_getFramesWritten(outputStream); in main() local 753 printf(" framesWritten = %8d\n", framesWritten); in main()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 473 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame); in write() local 474 incrementFramesWritten(framesWritten); in write() 481 return framesWritten; in write()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 1097 const size_t framesWritten = patchRecord->writeFrames( in interceptBuffer() local 1099 const size_t framesLeft = frameCount - framesWritten; in interceptBuffer() 1102 framesWritten, frameCount, framesLeft); in interceptBuffer() 1244 playbackThread->framesWritten()); in start() 1736 int64_t framesWritten, size_t audioHalFrames) in presentationComplete() argument 1750 (long long)mPresentationCompleteFrames, (long long)framesWritten); in presentationComplete() 1752 mPresentationCompleteFrames = framesWritten + audioHalFrames; in presentationComplete() 1761 complete = framesWritten >= (int64_t) mPresentationCompleteFrames; in presentationComplete() 1764 (long long) framesWritten, (long long) mPresentationCompleteFrames); in presentationComplete() 1766 complete = framesWritten >= (int64_t) mPresentationCompleteFrames in presentationComplete() [all …]
|
D | PlaybackTracks.h | 261 bool presentationComplete(int64_t framesWritten, size_t audioHalFrames) final;
|
D | IAfTrack.h | 410 virtual bool presentationComplete(int64_t framesWritten, size_t audioHalFrames) = 0;
|
D | Threads.cpp | 2359 dprintf(fd, " PipeSink frames written: %lld\n", (long long)mPipeSink->framesWritten()); in dumpInternals_l() 3414 int64_t framesWritten = mBytesWritten / mFrameSize; in getRenderPosition() local 3415 *halFrames = framesWritten; in getRenderPosition() 3421 (framesWritten >= (int64_t)latencyFrames ? framesWritten - latencyFrames : 0); in getRenderPosition() 3570 ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count); in threadLoop_write() local 3573 if (framesWritten > 0) { in threadLoop_write() 3574 bytesWritten = framesWritten * mFrameSize; in threadLoop_write() 3577 mTee.write((char *)mSinkBuffer + offset, framesWritten); in threadLoop_write() 3580 bytesWritten = framesWritten; in threadLoop_write() 5383 (long long)mPipeSink->framesWritten(), pipeFrames); in threadLoop_standby() [all …]
|
D | IAfThread.h | 538 virtual const std::atomic<int64_t>& framesWritten() const = 0;
|
D | Threads.h | 1534 const std::atomic<int64_t>& framesWritten() const final { return mFramesWritten; } in framesWritten() function
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | NBAIO.h | 151 virtual int64_t framesWritten() const { return mFramesWritten; } in framesWritten() function
|