Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp54 mMixer.allocate(getStreamInternal()->getSamplesPerFrame(), in open()
55 getStreamInternal()->getFramesPerBurst()); in open()
62 int32_t desiredBufferSize = burstsPerBuffer * getStreamInternal()->getFramesPerBurst(); in open()
63 getStreamInternal()->setBufferSize(desiredBufferSize); in open()
71 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop()
74 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) { in callbackLoop()
80 int64_t mmapFramesWritten = getStreamInternal()->getFramesWritten(); in callbackLoop()
129 result = getStreamInternal()->write(mMixer.getOutputBuffer(), in callbackLoop()
DAAudioServiceEndpointShared.cpp87 return getStreamInternal()->close(); in close()
102 int64_t periodNanos = getStreamInternal()->getFramesPerBurst() in startSharingThread_l()
106 return getStreamInternal()->createThread(periodNanos, aaudio_endpoint_thread_proc, this); in startSharingThread_l()
111 aaudio_result_t result = getStreamInternal()->joinThread(NULL); in stopSharingThread()
122 result = getStreamInternal()->requestStart(); in startStream()
128 getStreamInternal()->requestStop(); in startStream()
136 result = getStreamInternal()->startClient(sharedStream->getAudioClient(), clientHandle); in startStream()
140 getStreamInternal()->requestStop(); in startStream()
153 (void) getStreamInternal()->stopClient(clientHandle); in stopStream()
157 getStreamInternal()->requestStop(); in stopStream()
DAAudioServiceEndpointCapture.cpp51 int distributionBufferSizeBytes = getStreamInternal()->getFramesPerBurst() in open()
52 * getStreamInternal()->getBytesPerFrame(); in open()
63 int64_t timeoutNanos = getStreamInternal()->calculateReasonableTimeout(); in callbackLoop()
66 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) { in callbackLoop()
68 int64_t mmapFramesRead = getStreamInternal()->getFramesRead(); in callbackLoop()
71 result = getStreamInternal()->read(mDistributionBuffer, getFramesPerBurst(), timeoutNanos); in callbackLoop()
DAAudioServiceEndpointShared.h58 AudioStreamInternal *getStreamInternal() const { in getStreamInternal() function