Searched refs:updatePeriod (Results 1 – 7 of 7) sorted by relevance
571 status_t AudioRecord::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument579 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()580 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()589 status_t AudioRecord::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()591 if (updatePeriod == NULL) { in getPositionUpdatePeriod()596 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()1313 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local1315 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()1316 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()1317 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
1527 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument1535 mNewPosition = updateAndGetPosition_l() + updatePeriod; in setPositionUpdatePeriod()1536 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()1545 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()1550 if (updatePeriod == NULL) { in getPositionUpdatePeriod()1555 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()2461 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local2463 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()2464 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()2465 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
373 status_t setPositionUpdatePeriod(uint32_t updatePeriod);374 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
746 status_t setPositionUpdatePeriod(uint32_t updatePeriod);747 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
310 uint32_t updatePeriod = {}; in invokeAudioTrack() local311 track->getPositionUpdatePeriod(&updatePeriod); in invokeAudioTrack()367 uint32_t updatePeriod = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioRecord() local368 record->setPositionUpdatePeriod(updatePeriod); in invokeAudioRecord()369 record->getPositionUpdatePeriod(&updatePeriod); in invokeAudioRecord()
2490 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument
4482 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument