Searched refs:updatePeriod (Results 1 – 6 of 6) sorted by relevance
549 status_t AudioRecord::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument557 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()558 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()567 status_t AudioRecord::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()569 if (updatePeriod == NULL) { in getPositionUpdatePeriod()574 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()1197 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local1199 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()1200 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()1201 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
1238 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument1246 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() local2077 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()2078 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()2079 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
349 status_t setPositionUpdatePeriod(uint32_t updatePeriod);350 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
558 status_t setPositionUpdatePeriod(uint32_t updatePeriod);559 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
2027 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument
4115 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument