Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp97 sp<AAudioServiceStreamShared> streamShared = in callbackLoop() local
102 std::lock_guard <std::mutex> lock(streamShared->getAudioDataQueueLock()); in callbackLoop()
104 FifoBuffer *fifo = streamShared->getAudioDataFifoBuffer_l(); in callbackLoop()
112 streamShared->setTimestampPositionOffset(positionOffset); in callbackLoop()
116 if (streamShared->isFlowing()) { in callbackLoop()
122 streamShared->incrementXRunCount(); in callbackLoop()
126 streamShared->setFlowing(true); in callbackLoop()
137 streamShared->markTransferTime(timestamp); in callbackLoop()
DAAudioServiceEndpointCapture.cpp88 sp<AAudioServiceStreamShared> streamShared = in callbackLoop() local
93 std::lock_guard <std::mutex> lock(streamShared->getAudioDataQueueLock()); in callbackLoop()
95 FifoBuffer *fifo = streamShared->getAudioDataFifoBuffer_l(); in callbackLoop()
103 streamShared->setTimestampPositionOffset(positionOffset); in callbackLoop()
108 streamShared->incrementXRunCount(); in callbackLoop()
121 streamShared->markTransferTime(timestamp); in callbackLoop()