Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/libaudioclient/
H A DAudioRecord.cpp1229 size_t newPosCount = 0; in processAudioBuffer() local
1234 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()
1235 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()
1260 while (newPosCount > 0) { in processAudioBuffer()
1264 newPosCount--; in processAudioBuffer()
H A DAudioTrack.cpp2365 size_t newPosCount = 0; in processAudioBuffer() local
2370 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()
2371 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()
2470 while (newPosCount > 0) { in processAudioBuffer()
2474 newPosCount--; in processAudioBuffer()