Lines Matching refs:updatePeriod
1149 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument
1157 mNewPosition = updateAndGetPosition_l() + updatePeriod; in setPositionUpdatePeriod()
1158 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()
1167 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()
1172 if (updatePeriod == NULL) { in getPositionUpdatePeriod()
1177 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()
1935 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local
1937 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()
1938 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()
1939 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()
2041 newPosition += updatePeriod; in processAudioBuffer()
2069 if (updatePeriod > 0) { in processAudioBuffer()