/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternalPlay.cpp | 163 int32_t framesWritten = writeNowWithConversion(buffer, numFrames); in processDataNow() local 167 ATRACE_INT("aaWrote", framesWritten); in processDataNow() 171 if (wakeTimePtr != nullptr && framesWritten >= 0) { in processDataNow() 180 if (framesWritten != 0) { in processDataNow() 205 return framesWritten; in processDataNow() 240 int32_t framesWritten = numFrames - framesLeft; in writeNowWithConversion() local 241 mAudioEndpoint.advanceWriteIndex(framesWritten); in writeNowWithConversion() 243 return framesWritten; in writeNowWithConversion() 256 const int64_t framesWritten = mAudioEndpoint.getDataWriteCounter() in getFramesWritten() local 258 return framesWritten; in getFramesWritten()
|
D | AudioEndpoint.h | 72 void setDataWriteCounter(android::fifo_counter_t framesWritten);
|
/frameworks/av/media/libaaudio/tests/ |
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 | 108 int64_t framesWritten = AAudioStream_getFramesWritten(getStream()); in validate() local 113 (unsigned long long) framesWritten, in validate() 117 if (framesWritten < framesRead) { in validate() 119 (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()
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 211 ssize_t framesWritten = mPipeSink->write(mReadBuffer, mReadBufferState); in onWork() local 217 mReadBuffer, mFormat.mFormat, framesWritten * mFormat.mChannelCount); in onWork() 218 patchBuffer.frameCount = framesWritten; in onWork() 220 } else if (cblk != NULL && framesWritten > 0) { in onWork() 225 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear); in onWork() 226 cblk->mServer += framesWritten; in onWork()
|
D | FastMixer.cpp | 498 ssize_t framesWritten = mOutputSink->write(buffer, frameCount); in onWork() local 501 if (framesWritten >= 0) { in onWork() 502 ALOG_ASSERT((size_t) framesWritten <= frameCount); in onWork() 503 mTotalNativeFramesWritten += framesWritten; in onWork()
|
D | Tracks.cpp | 824 size_t framesWritten = writeFrames(patchRecord, sourceBuffer.i8, frameCount); in interceptBuffer() local 827 size_t framesLeft = frameCount - framesWritten; in interceptBuffer() 828 if (framesWritten != 0 && framesLeft != 0) { in interceptBuffer() 829 framesWritten += in interceptBuffer() 830 writeFrames(patchRecord, sourceBuffer.i8 + framesWritten * mFrameSize, framesLeft); in interceptBuffer() 831 framesLeft = frameCount - framesWritten; in interceptBuffer() 835 framesWritten, frameCount, framesLeft); in interceptBuffer() 857 auto framesWritten = patchBuffer.frameCount; in writeFrames() local 859 return framesWritten; in writeFrames() 1313 int64_t framesWritten, size_t audioHalFrames) in presentationComplete() argument [all …]
|
D | Threads.cpp | 1934 dprintf(fd, " PipeSink frames written: %lld\n", (long long)mPipeSink->framesWritten()); in dumpInternals_l() 2781 int64_t framesWritten = mBytesWritten / mFrameSize; in getRenderPosition() local 2782 *halFrames = framesWritten; in getRenderPosition() 2788 (framesWritten >= (int64_t)latencyFrames ? framesWritten - latencyFrames : 0); in getRenderPosition() 2935 ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count); in threadLoop_write() local 2937 if (framesWritten > 0) { in threadLoop_write() 2938 bytesWritten = framesWritten * mFrameSize; in threadLoop_write() 2940 mTee.write((char *)mSinkBuffer + offset, framesWritten); in threadLoop_write() 2943 bytesWritten = framesWritten; in threadLoop_write() 4391 (long long)mPipeSink->framesWritten(), pipeFrames); in threadLoop_standby() [all …]
|
D | PlaybackTracks.h | 207 bool presentationComplete(int64_t framesWritten, size_t audioHalFrames);
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 174 fifo_frames_t framesWritten = numFrames - framesLeft; in write() local 175 mFifo->advanceWriteIndex(framesWritten); in write() 176 return framesWritten; in write()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 123 … const int32_t framesWritten = (int32_t) AAudioStream_getFramesWritten(player.getStream()); in testOpenPlayClose() local 130 framesWritten, in testOpenPlayClose() 132 framesWritten - framesRead, in testOpenPlayClose()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 705 int32_t framesWritten = AAudioStream_getFramesWritten(inputStream); in main() local 706 const int64_t framesAvailable = framesWritten - framesRead; in main() 709 printf(" framesWritten = %8d\n", framesWritten); in main() 725 int32_t framesWritten = AAudioStream_getFramesWritten(outputStream); in main() local 729 printf(" framesWritten = %8d\n", framesWritten); in main()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 414 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame); in write() local 415 incrementFramesWritten(framesWritten); in write() 422 return framesWritten; in write()
|
/frameworks/av/include/media/nbaio/ |
D | NBAIO.h | 151 virtual int64_t framesWritten() const { 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
|