Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp57 mMixer.allocate(getStreamInternal()->getSamplesPerFrame(), in open()
58 getStreamInternal()->getFramesPerBurst()); in open()
65 int32_t desiredBufferSize = burstsPerBuffer * getStreamInternal()->getFramesPerBurst(); in open()
66 getStreamInternal()->setBufferSize(desiredBufferSize); in open()
75 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop()
78 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) { in callbackLoop()
84 int64_t mmapFramesWritten = getStreamInternal()->getFramesWritten(); in callbackLoop()
146 result = getStreamInternal()->write(mMixer.getOutputBuffer(), in callbackLoop()
159 __func__, mCallbackEnabled.load(), getStreamInternal()->getState(), result); in callbackLoop()
DAAudioServiceEndpointShared.cpp87 return getStreamInternal()->close(); in close()
111 int64_t periodNanos = getStreamInternal()->getFramesPerBurst() in startSharingThread_l()
117 aaudio_result_t result = getStreamInternal()->createThread(periodNanos, in startSharingThread_l()
129 aaudio_result_t result = getStreamInternal()->joinThread(NULL); in stopSharingThread()
140 result = getStreamInternal()->requestStart(); in startStream()
146 getStreamInternal()->requestStop(); in startStream()
154 result = getStreamInternal()->startClient(sharedStream->getAudioClient(), clientHandle); in startStream()
158 getStreamInternal()->requestStop(); in startStream()
171 (void) getStreamInternal()->stopClient(clientHandle); in stopStream()
175 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.h60 AudioStreamInternal *getStreamInternal() const { in getStreamInternal() function