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()
147 result = getStreamInternal()->write(mMixer.getOutputBuffer(), in callbackLoop()
161 __func__, mCallbackEnabled.load(), getStreamInternal()->getState(), result); in callbackLoop()
DAAudioServiceEndpointShared.cpp95 getStreamInternal()->safeReleaseClose(); in close()
116 endpoint->getStreamInternal()->safeReleaseCloseInternal(); in aaudio_endpoint_thread_proc()
124 int64_t periodNanos = getStreamInternal()->getFramesPerBurst() in startSharingThread_l()
131 aaudio_result_t result = getStreamInternal()->createThread(periodNanos, in startSharingThread_l()
142 return getStreamInternal()->joinThread(nullptr); in stopSharingThread()
154 result = getStreamInternal()->systemStart(); in startStream()
160 getStreamInternal()->systemStopFromApp(); in startStream()
169 result = getStreamInternal()->startClient( in startStream()
174 getStreamInternal()->systemStopFromApp(); in startStream()
185 (void) getStreamInternal()->stopClient(clientHandle); in stopStream()
[all …]
DAAudioServiceEndpointCapture.cpp46 int distributionBufferSizeBytes = getStreamInternal()->getFramesPerBurst() in open()
47 * getStreamInternal()->getBytesPerFrame(); in open()
57 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop()
60 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) { in callbackLoop()
62 int64_t mmapFramesRead = getStreamInternal()->getFramesRead(); in callbackLoop()
65 result = getStreamInternal()->read(mDistributionBuffer.get(), in callbackLoop()
DAAudioServiceEndpointShared.h61 AudioStreamInternal *getStreamInternal() const { in getStreamInternal() function