Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrack.cpp991 const uint32_t effectiveRate = adjustSampleRate(mSampleRate, playbackRate.mPitch); in setPlaybackRate() local
999 __func__, mPortId, effectiveRate, effectiveSpeed, effectivePitch); in setPlaybackRate()
1007 if (!isSampleRateSpeedAllowed_l(effectiveRate, effectiveSpeed)) { in setPlaybackRate()
1014 if ((uint64_t)effectiveRate > (uint64_t)mSampleRate * in setPlaybackRate()
1021 if ((uint64_t)effectiveRate * (uint64_t)AUDIO_RESAMPLER_UP_RATIO_MAX < (uint64_t)mSampleRate) { in setPlaybackRate()
1029 mProxy->setSampleRate(effectiveRate); // FIXME: not quite "atomic" with setPlaybackRate in setPlaybackRate()