Searched refs:updatePeriod (Results 1 – 7 of 7) sorted by relevance
566 status_t AudioRecord::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument574 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()575 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()584 status_t AudioRecord::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()586 if (updatePeriod == NULL) { in getPositionUpdatePeriod()591 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()1230 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local1232 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()1233 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()1234 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
1405 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument1413 mNewPosition = updateAndGetPosition_l() + updatePeriod; in setPositionUpdatePeriod()1414 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()1423 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) const in getPositionUpdatePeriod()1428 if (updatePeriod == NULL) { in getPositionUpdatePeriod()1433 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()2255 uint32_t updatePeriod = mUpdatePeriod; in processAudioBuffer() local2257 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer()2258 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer()2259 mNewPosition += updatePeriod * newPosCount; in processAudioBuffer()[all …]
362 status_t setPositionUpdatePeriod(uint32_t updatePeriod);363 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
626 status_t setPositionUpdatePeriod(uint32_t updatePeriod);627 status_t getPositionUpdatePeriod(uint32_t *updatePeriod) const;
283 uint32_t updatePeriod = {}; in invokeAudioTrack() local284 track->getPositionUpdatePeriod(&updatePeriod); in invokeAudioTrack()340 uint32_t updatePeriod = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioRecord() local341 record->setPositionUpdatePeriod(updatePeriod); in invokeAudioRecord()342 record->getPositionUpdatePeriod(&updatePeriod); in invokeAudioRecord()
2282 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument
4303 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument