Searched defs:effectiveRate (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp984 const uint32_t effectiveRate = adjustSampleRate(mSampleRate, playbackRate.mPitch); local
992 effectiveRate, effectiveSpeed, effectivePitch);
1000 if (!isSampleRateSpeedAllowed_l(effectiveRate, effectiveSpeed)) {
1007 if ((uint64_t)effectiveRate > (uint64_t)mSampleRate *
1014 if ((uint64_t)effectiveRate * (uint64_t)AUDIO_RESAMPLER_UP_RATIO_MAX < (uint64_t)mSampleRate) {
1022 mProxy->setSampleRate(effectiveRate); // FIXME: not quite "atomic" with setPlaybackRate

Completed in 52 milliseconds