Searched refs:updatePeriod (Results 1 – 6 of 6) sorted by relevance
378 status_t AudioRecord::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument385 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()386 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()391 status_t AudioRecord::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()393 if (updatePeriod == NULL) { in getPositionUpdatePeriod()398 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()755 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local757 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()758 newPosCount = ((position - newPosition) / updatePeriod) + 1; in processAudioBuffer()759 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
697 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument705 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()706 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()710 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()715 if (updatePeriod == NULL) { in getPositionUpdatePeriod()720 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()1449 size_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local1451 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()1452 newPosCount = ((position - newPosition) / updatePeriod) + 1; in processAudioBuffer()1453 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
271 status_t setPositionUpdatePeriod(uint32_t updatePeriod);272 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
396 status_t setPositionUpdatePeriod(uint32_t updatePeriod);397 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
825 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument
1355 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument