Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp73 mSampleRateHz(0), in MediaPlayer2AudioOutput()
198 if (mTrack == 0 || mSampleRateHz == 0) { in getPlayedOutDurationUs()
226 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) in getPlayedOutDurationUs()
435 mSampleRateHz = sampleRate; in open()
555 if (mSampleRateHz != 0) { in setPlaybackRate()
556 mMsecsPerFrame = 1E3f / (rate.mSpeed * mSampleRateHz); in setPlaybackRate()
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
DMediaPlayer2AudioOutput.h119 uint32_t mSampleRateHz; // sample rate of the content, as set in open() variable
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1610 mSampleRateHz(0), in AudioOutput()
1736 if (mTrack == 0 || mSampleRateHz == 0) { in getPlayedOutDurationUs()
1764 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) in getPlayedOutDurationUs()
2108 mSampleRateHz = sampleRate; in open()
2221 mNextOutput->mSampleRateHz = mSampleRateHz; in switchToNextOutput()
2313 if (mSampleRateHz != 0) { in setPlaybackRate()
2314 mMsecsPerFrame = 1E3f / (rate.mSpeed * mSampleRateHz); in setPlaybackRate()
DMediaPlayerService.h167 uint32_t mSampleRateHz; // sample rate of the content, as set in open() variable