Lines Matching refs:updatePeriod
1238 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument
1246 mNewPosition = updateAndGetPosition_l() + updatePeriod; in setPositionUpdatePeriod()
1247 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()
1256 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()
1261 if (updatePeriod == NULL) { in getPositionUpdatePeriod()
1266 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()
2075 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local
2077 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()
2078 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()
2079 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()
2181 newPosition += updatePeriod; in processAudioBuffer()
2209 if (updatePeriod > 0) { in processAudioBuffer()