Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp746 const size_t overflowBit = mFrameCountP2 << 1; in flushBufferIfNeeded() local
747 const size_t mask = overflowBit - 1; in flushBufferIfNeeded()
750 if (filled >= (ssize_t)overflowBit) { in flushBufferIfNeeded()
754 ALOGV("flush wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in flushBufferIfNeeded()
755 newFront += overflowBit; in flushBufferIfNeeded()
756 filled -= overflowBit; in flushBufferIfNeeded()
788 const size_t overflowBit = mFrameCountP2 << 1; in getRear() local
789 const size_t mask = overflowBit - 1; in getRear()
793 if (filled >= (ssize_t)overflowBit) { in getRear()
796 ALOGV("stop wrap: filled %zx >= overflowBit %zx", filled, overflowBit); in getRear()
[all …]