Searched refs:tempReadIndex (Results 1 – 2 of 2) sorted by relevance
245 OptResult AudioRingCache::HandleCrossDequeue(size_t tempReadIndex, size_t readableSize, const Buffe… in HandleCrossDequeue() argument250 size_t tailSize = tempReadIndex - (baseIndex_ + cacheTotalSize_); in HandleCrossDequeue()267 readIndex_ = tempReadIndex; // move write index in HandleCrossDequeue()299 size_t tempReadIndex = readIndex_ + buffer.dataSize; in Dequeue() local300 if (tempReadIndex > baseIndex_ + cacheTotalSize_) { in Dequeue()301 return HandleCrossDequeue(tempReadIndex, readableSize, buffer); in Dequeue()315 if (tempReadIndex - baseIndex_ == cacheTotalSize_) { in Dequeue()318 readIndex_ = tempReadIndex; // move read index in Dequeue()
82 … OptResult HandleCrossDequeue(size_t tempReadIndex, size_t readableSize, const BufferWrap &buffer);