Lines Matching refs:updatePeriod
1527 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument
1535 mNewPosition = updateAndGetPosition_l() + updatePeriod; in setPositionUpdatePeriod()
1536 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()
1545 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()
1550 if (updatePeriod == NULL) { in getPositionUpdatePeriod()
1555 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()
2461 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local
2463 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()
2464 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()
2465 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()
2578 newPosition += updatePeriod; in processAudioBuffer()
2606 if (updatePeriod > 0) { in processAudioBuffer()