Lines Matching refs:playbackRate
444 const AudioPlaybackRate *playbackRate = in setParameter() local
446 ALOGW_IF(!isAudioPlaybackRateValid(*playbackRate), in setParameter()
448 playbackRate->mSpeed, playbackRate->mPitch); in setParameter()
449 if (track->setPlaybackRate(*playbackRate)) { in setParameter()
452 playbackRate->mSpeed, in setParameter()
453 playbackRate->mPitch, in setParameter()
454 playbackRate->mStretchMode, in setParameter()
455 playbackRate->mFallbackMode); in setParameter()
469 bool AudioMixer::Track::setPlaybackRate(const AudioPlaybackRate &playbackRate) in setPlaybackRate() argument
472 fabs(playbackRate.mSpeed - mPlaybackRate.mSpeed) < AUDIO_TIMESTRETCH_SPEED_MIN_DELTA && in setPlaybackRate()
473 fabs(playbackRate.mPitch - mPlaybackRate.mPitch) < AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) || in setPlaybackRate()
474 isAudioPlaybackRateEqual(playbackRate, mPlaybackRate)) { in setPlaybackRate()
477 mPlaybackRate = playbackRate; in setPlaybackRate()
483 mMixerInFormat, sampleRate, playbackRate)); in setPlaybackRate()
487 ->setPlaybackRate(playbackRate); in setPlaybackRate()