Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp685 const size_t overflowBit = mFrameCountP2 << 1; in flushBufferIfNeeded() local
686 const size_t mask = overflowBit - 1; in flushBufferIfNeeded()
689 if (filled >= (ssize_t)overflowBit) { in flushBufferIfNeeded()
693 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in flushBufferIfNeeded()
694 newFront += overflowBit; in flushBufferIfNeeded()
695 filled -= overflowBit; in flushBufferIfNeeded()
727 const size_t overflowBit = mFrameCountP2 << 1; in getRear() local
728 const size_t mask = overflowBit - 1; in getRear()
732 if (filled >= (ssize_t)overflowBit) { in getRear()
735 ALOGV("stop wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in getRear()
[all …]