Home
last modified time | relevance | path

Searched refs:mSampleRateHz (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp68 mSampleRateHz(0), in MediaPlayer2AudioOutput()
184 if (mJAudioTrack == nullptr || mSampleRateHz == 0) { in getPlayedOutDurationUs()
208 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) in getPlayedOutDurationUs()
342 mSampleRateHz = sampleRate; in open()
463 if (mSampleRateHz != 0) { in setPlaybackRate()
464 mMsecsPerFrame = 1E3f / (rate.mSpeed * mSampleRateHz); in setPlaybackRate()
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
DMediaPlayer2AudioOutput.h116 uint32_t mSampleRateHz; // sample rate of the content, as set in open() variable
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1600 mSampleRateHz(0), in AudioOutput()
1726 if (mTrack == 0 || mSampleRateHz == 0) { in getPlayedOutDurationUs()
1754 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) in getPlayedOutDurationUs()
2104 mSampleRateHz = sampleRate; in open()
2217 mNextOutput->mSampleRateHz = mSampleRateHz; in switchToNextOutput()
2309 if (mSampleRateHz != 0) { in setPlaybackRate()
2310 mMsecsPerFrame = 1E3f / (rate.mSpeed * mSampleRateHz); in setPlaybackRate()
DMediaPlayerService.h164 uint32_t mSampleRateHz; // sample rate of the content, as set in open() variable