Home
last modified time | relevance | path

Searched refs:streamShared (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp98 sp<AAudioServiceStreamShared> streamShared = in callbackLoop() local
103 std::lock_guard <std::mutex> lock(streamShared->getAudioDataQueueLock()); in callbackLoop()
105 FifoBuffer *fifo = streamShared->getAudioDataFifoBuffer_l(); in callbackLoop()
113 streamShared->setTimestampPositionOffset(positionOffset); in callbackLoop()
117 if (streamShared->isFlowing()) { in callbackLoop()
123 streamShared->incrementXRunCount(); in callbackLoop()
127 streamShared->setFlowing(true); in callbackLoop()
138 streamShared->markTransferTime(timestamp); in callbackLoop()
DAAudioServiceEndpointCapture.cpp87 sp<AAudioServiceStreamShared> streamShared = in callbackLoop() local
92 std::lock_guard <std::mutex> lock(streamShared->getAudioDataQueueLock()); in callbackLoop()
94 FifoBuffer *fifo = streamShared->getAudioDataFifoBuffer_l(); in callbackLoop()
102 streamShared->setTimestampPositionOffset(positionOffset); in callbackLoop()
107 streamShared->incrementXRunCount(); in callbackLoop()
120 streamShared->markTransferTime(timestamp); in callbackLoop()