Searched refs:updatePeriod (Results 1 – 6 of 6) sorted by relevance
511 status_t AudioRecord::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument519 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()520 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()529 status_t AudioRecord::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()531 if (updatePeriod == NULL) { in getPositionUpdatePeriod()536 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()1127 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local1129 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()1130 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()1131 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
1149 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument1157 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() local1937 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()1938 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()1939 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
336 status_t setPositionUpdatePeriod(uint32_t updatePeriod);337 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
542 status_t setPositionUpdatePeriod(uint32_t updatePeriod);543 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
1957 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument
3648 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument