Searched refs:effectiveRate (Results 1 – 1 of 1) sorted by relevance
1299 const uint32_t effectiveRate = adjustSampleRate(mSampleRate, playbackRate.mPitch); in setPlaybackRate() local1307 __func__, mPortId, effectiveRate, effectiveSpeed, effectivePitch); in setPlaybackRate()1315 if (!isSampleRateSpeedAllowed_l(effectiveRate, effectiveSpeed)) { in setPlaybackRate()1322 if ((uint64_t)effectiveRate > (uint64_t)mSampleRate * in setPlaybackRate()1329 if ((uint64_t)effectiveRate * (uint64_t)AUDIO_RESAMPLER_UP_RATIO_MAX < (uint64_t)mSampleRate) { in setPlaybackRate()1337 mProxy->setSampleRate(effectiveRate); // FIXME: not quite "atomic" with setPlaybackRate in setPlaybackRate()1345 AMEDIAMETRICS_PROP_SAMPLERATE, (int32_t)effectiveRate) in setPlaybackRate()