Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp52 mMixer.allocate(getStreamInternal()->getSamplesPerFrame(), in open()
53 getStreamInternal()->getFramesPerBurst()); in open()
60 int32_t desiredBufferSize = burstsPerBuffer * getStreamInternal()->getFramesPerBurst(); in open()
61 getStreamInternal()->setBufferSize(desiredBufferSize); in open()
70 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop()
73 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) { in callbackLoop()
79 int64_t mmapFramesWritten = getStreamInternal()->getFramesWritten(); in callbackLoop()
145 result = getStreamInternal()->write(mMixer.getOutputBuffer(), in callbackLoop()
158 __func__, mCallbackEnabled.load(), getStreamInternal()->getState(), result); in callbackLoop()
DAAudioServiceEndpointShared.cpp88 return getStreamInternal()->releaseCloseFinal(); in close()
112 int64_t periodNanos = getStreamInternal()->getFramesPerBurst() in startSharingThread_l()
118 aaudio_result_t result = getStreamInternal()->createThread(periodNanos, in startSharingThread_l()
130 aaudio_result_t result = getStreamInternal()->joinThread(NULL); in stopSharingThread()
141 result = getStreamInternal()->requestStart(); in startStream()
147 getStreamInternal()->requestStop(); in startStream()
156 result = getStreamInternal()->startClient( in startStream()
161 getStreamInternal()->requestStop(); in startStream()
172 (void) getStreamInternal()->stopClient(clientHandle); in stopStream()
176 getStreamInternal()->requestStop(); in stopStream()
DAAudioServiceEndpointCapture.cpp51 int distributionBufferSizeBytes = getStreamInternal()->getFramesPerBurst() in open()
52 * getStreamInternal()->getBytesPerFrame(); in open()
62 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop()
65 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) { in callbackLoop()
67 int64_t mmapFramesRead = getStreamInternal()->getFramesRead(); in callbackLoop()
70 result = getStreamInternal()->read(mDistributionBuffer, getFramesPerBurst(), timeoutNanos); in callbackLoop()
DAAudioServiceEndpointShared.h59 AudioStreamInternal *getStreamInternal() const { in getStreamInternal() function