Home | History | Annotate | Download | only in libmedia

Lines Matching defs:updatePeriod

1026 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod)
1034 mNewPosition = updateAndGetPosition_l() + updatePeriod;
1035 mUpdatePeriod = updatePeriod;
1044 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) const
1049 if (updatePeriod == NULL) {
1054 *updatePeriod = mUpdatePeriod;
1854 uint32_t updatePeriod = mUpdatePeriod;
1856 if (updatePeriod > 0 && position >= newPosition) {
1857 newPosCount = ((position - newPosition).value() / updatePeriod) + 1;
1858 mNewPosition += updatePeriod * newPosCount;
1960 newPosition += updatePeriod;
1988 if (updatePeriod > 0) {