Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioTrackShared.cpp95 uint32_t clippedSize = size; in setBufferSizeInFrames() local
97 clippedSize = maximum; in setBufferSizeInFrames()
98 } else if (clippedSize < minimum) { in setBufferSizeInFrames()
99 clippedSize = minimum; in setBufferSizeInFrames()
100 } else if (clippedSize > maximum) { in setBufferSizeInFrames()
101 clippedSize = maximum; in setBufferSizeInFrames()
104 android_atomic_release_store(clippedSize, (int32_t *)&mCblk->mBufferSizeInFrames); in setBufferSizeInFrames()
106 mBufferSizeInFrames = clippedSize; in setBufferSizeInFrames()
107 return clippedSize; in setBufferSizeInFrames()