Home
last modified time | relevance | path

Searched refs:positionInFrames (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioTrack.java915 public int setPlaybackHeadPosition(int positionInFrames) { in setPlaybackHeadPosition() argument
920 if (!(0 <= positionInFrames && positionInFrames <= mNativeBufferSizeInFrames)) { in setPlaybackHeadPosition()
923 return native_set_position(positionInFrames); in setPlaybackHeadPosition()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp537 uint32_t positionInFrames; in android_audioRecorder_getPosition() local
538 ar->mAudioRecord->getPosition(&positionInFrames); in android_audioRecorder_getPosition()
542 *pPosMsec = ((int64_t)positionInFrames * 1000) / in android_audioRecorder_getPosition()
DAudioPlayer_to_android.cpp2057 uint32_t positionInFrames; in android_audioPlayer_getPosition() local
2058 ap->mAudioTrack->getPosition(&positionInFrames); in android_audioPlayer_getPosition()
2059 *pPosMsec = ((int64_t)positionInFrames * 1000) / in android_audioPlayer_getPosition()