Home
last modified time | relevance | path

Searched refs:updatePeriod (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/include/media/
DAudioRecord.h262 status_t setPositionUpdatePeriod(uint32_t updatePeriod);
263 status_t getPositionUpdatePeriod(uint32_t *updatePeriod);
DAudioTrack.h318 status_t setPositionUpdatePeriod(uint32_t updatePeriod);
319 status_t getPositionUpdatePeriod(uint32_t *updatePeriod);
/frameworks/base/media/libmedia/
DAudioRecord.cpp407 status_t AudioRecord::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument
413 mNewPosition = curPosition + updatePeriod; in setPositionUpdatePeriod()
414 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()
419 status_t AudioRecord::getPositionUpdatePeriod(uint32_t *updatePeriod) in getPositionUpdatePeriod() argument
421 if (updatePeriod == 0) return BAD_VALUE; in getPositionUpdatePeriod()
423 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()
DAudioTrack.cpp621 status_t AudioTrack::setPositionUpdatePeriod(uint32_t updatePeriod) in setPositionUpdatePeriod() argument
627 mNewPosition = curPosition + updatePeriod; in setPositionUpdatePeriod()
628 mUpdatePeriod = updatePeriod; in setPositionUpdatePeriod()
633 status_t AudioTrack::getPositionUpdatePeriod(uint32_t *updatePeriod) in getPositionUpdatePeriod() argument
635 if (updatePeriod == 0) return BAD_VALUE; in getPositionUpdatePeriod()
637 *updatePeriod = mUpdatePeriod; in getPositionUpdatePeriod()
/frameworks/base/media/java/android/media/
DAudioRecord.java805 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument
DAudioTrack.java1182 private native final int native_set_pos_update_period(int updatePeriod); in native_set_pos_update_period() argument