Home
last modified time | relevance | path

Searched refs:mAudioEndpoint (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp44 int64_t readCounter = mAudioEndpoint.getDataReadCounter(); in advanceClientToMatchServerPosition()
45 int64_t writeCounter = mAudioEndpoint.getDataWriteCounter(); in advanceClientToMatchServerPosition()
55 mAudioEndpoint.setDataReadCounter(writeCounter); in advanceClientToMatchServerPosition()
88 if (mAudioEndpoint.isFreeRunning()) { in processDataNow()
93 mAudioEndpoint.setDataWriteCounter(estimatedRemoteCounter); in processDataNow()
106 if (mAudioEndpoint.isFreeRunning() && mAudioEndpoint.getEmptyFramesAvailable() < 0) { in processDataNow()
140 int64_t nextPosition = mAudioEndpoint.getDataReadCounter() + mFramesPerBurst; in processDataNow()
163 mAudioEndpoint.getFullFramesAvailable(&wrappingBuffer); in readNowWithConversion()
204 mAudioEndpoint.advanceReadIndex(framesProcessed); in readNowWithConversion()
215 framesWrittenHardware = mAudioEndpoint.getDataWriteCounter(); in getFramesWritten()
[all …]
DAudioStreamInternalPlay.cpp81 int64_t readCounter = mAudioEndpoint.getDataReadCounter(); in advanceClientToMatchServerPosition()
82 int64_t writeCounter = mAudioEndpoint.getDataWriteCounter(); in advanceClientToMatchServerPosition()
92 mAudioEndpoint.setDataWriteCounter(readCounter); in advanceClientToMatchServerPosition()
129 if (mAudioEndpoint.isFreeRunning()) { in processDataNow()
133 mAudioEndpoint.setDataReadCounter(estimatedReadCounter); in processDataNow()
145 if (mAudioEndpoint.isFreeRunning() && mAudioEndpoint.getFullFramesAvailable() < 0) { in processDataNow()
183 int64_t nextPosition = mAudioEndpoint.getDataWriteCounter() + mFramesPerBurst in processDataNow()
184 - mAudioEndpoint.getBufferSizeInFrames(); in processDataNow()
206 mAudioEndpoint.getEmptyFramesAvailable(&wrappingBuffer); in writeNowWithConversion()
244 mAudioEndpoint.advanceWriteIndex(framesWritten); in writeNowWithConversion()
[all …]
DAudioStreamInternal.cpp62 , mAudioEndpoint() in AudioStreamInternal()
173 result = mAudioEndpoint.configure(&mEndpointDescriptor, getDirection()); in open()
503 mAudioEndpoint.eraseDataMemory(); in onEventFromServer()
529 if (mAudioEndpoint.readUpCommand(&message) != 1) { in drainTimestampsFromService()
557 if (mAudioEndpoint.readUpCommand(&message) != 1) { in processCommands()
590 int32_t fullFrames = mAudioEndpoint.getFullFramesAvailable(); in processData()
619 if (!mAudioEndpoint.isFreeRunning()) { in processData()
644 mAudioEndpoint.dump(); in processData()
649 int32_t fullFrames = mAudioEndpoint.getFullFramesAvailable(); in processData()
661 int32_t fullFrames = mAudioEndpoint.getFullFramesAvailable(); in processData()
[all …]
DAudioStreamInternal.h150 AudioEndpoint mAudioEndpoint; // source for reads or sink for writes variable