/frameworks/av/include/media/ |
D | AudioResamplerPublic.h | 90 float mSpeed; member 105 return fabs(pr1.mSpeed - pr2.mSpeed) < AUDIO_TIMESTRETCH_SPEED_MIN_DELTA && in isAudioPlaybackRateEqual() 116 return playbackRate.mSpeed >= TIMESTRETCH_SONIC_SPEED_MIN && in isAudioPlaybackRateValid() 117 playbackRate.mSpeed <= TIMESTRETCH_SONIC_SPEED_MAX && in isAudioPlaybackRateValid() 121 return playbackRate.mSpeed >= AUDIO_TIMESTRETCH_SPEED_MIN && in isAudioPlaybackRateValid() 122 playbackRate.mSpeed <= AUDIO_TIMESTRETCH_SPEED_MAX && in isAudioPlaybackRateValid()
|
/frameworks/base/media/java/android/media/ |
D | PlaybackParams.java | 97 private float mSpeed = 1.0f; field in PlaybackParams 110 mSpeed = in.readFloat(); in PlaybackParams() 206 mSpeed = speed; in setSpeed() 220 return mSpeed; in getSpeed() 248 dest.writeFloat(mSpeed); in writeToParcel()
|
D | RemoteController.java | 272 final long scaledSinceThen = (long) (sinceThen * lastPlaybackInfo.mSpeed); in getEstimatedMediaPosition() 866 pi.mSpeed); in onNewPlaybackInfo() 1060 float mSpeed; field in RemoteController.PlaybackInfo 1066 mSpeed = speed; in PlaybackInfo()
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 235 private final float mSpeed; field in PlaybackState 249 mSpeed = speed; in PlaybackState() 262 mSpeed = in.readFloat(); in PlaybackState() 278 bob.append(", speed=").append(mSpeed); in toString() 297 dest.writeFloat(mSpeed); in writeToParcel() 347 return mSpeed; in getPlaybackSpeed() 759 private float mSpeed; 785 mSpeed = from.mSpeed; 833 mSpeed = playbackSpeed; 998 return new PlaybackState(mState, mPosition, mUpdateTime, mSpeed, mBufferedPosition,
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
D | PlaybackStateCompat.java | 261 private final float mSpeed; field in PlaybackStateCompat 278 mSpeed = rate; in PlaybackStateCompat() 290 mSpeed = in.readFloat(); in PlaybackStateCompat() 306 bob.append(", speed=").append(mSpeed); in toString() 325 dest.writeFloat(mSpeed); in writeToParcel() 380 return mSpeed; in getPlaybackSpeed() 516 mSpeed, mActions, mErrorMessage, mUpdateTime, in getPlaybackState() 520 mSpeed, mActions, mErrorMessage, mUpdateTime, in getPlaybackState() 787 mRate = source.mSpeed; in Builder()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 89 private float mSpeed = 0.0f; field in Location 139 mSpeed = l.mSpeed; in set() 160 mSpeed = 0; in reset() 635 return mSpeed; in getSpeed() 644 mSpeed = speed; in setSpeed() 655 mSpeed = 0.0f; in removeSpeed() 853 if (mHasSpeed) s.append(" vel=").append(mSpeed); in toString() 881 l.mSpeed = in.readFloat(); 912 parcel.writeFloat(mSpeed); in writeToParcel()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | CopyService.java | 84 private long mSpeed; field in CopyService 231 mSpeed = 0; in setupCopyJob() 357 if (mSpeed == 0) { in updateRemainingTimeEstimate() 358 mSpeed = sampleSpeed; in updateRemainingTimeEstimate() 360 mSpeed = ((3 * mSpeed) + sampleSpeed) / 4; in updateRemainingTimeEstimate() 363 if (mSampleTime > 0 && mSpeed > 0) { in updateRemainingTimeEstimate() 364 mRemainingTime = ((mBatchSize - mBytesCopied) * 1000) / mSpeed; in updateRemainingTimeEstimate()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlayerRecord.java | 92 public float mSpeed; field in PlayerRecord.RccPlaybackState 97 mSpeed = speed; in RccPlaybackState() 103 mSpeed = RemoteControlClient.PLAYBACK_SPEED_1X; in reset() 108 return stateToString() + ", " + posToString() + ", " + mSpeed + "X"; in toString()
|
/frameworks/av/services/audioflinger/ |
D | BufferProviders.cpp | 343 this, channelCount, format, sampleRate, playbackRate.mSpeed, in TimestretchBufferProvider() 391 mBuffer.frameCount = mPlaybackRate.mSpeed == AUDIO_TIMESTRETCH_SPEED_NORMAL in getNextBuffer() 392 ? outputDesired : outputDesired * mPlaybackRate.mSpeed + 1; in getNextBuffer() 464 sonicSetSpeed(mSonicStream, mPlaybackRate.mSpeed); in setPlaybackRate() 481 const size_t targetSrc = *dstFrames * mPlaybackRate.mSpeed; in processFrames() 483 *dstFrames = *srcFrames / mPlaybackRate.mSpeed; in processFrames()
|
D | AudioMixer.cpp | 737 "bad parameters speed %f, pitch %f",playbackRate->mSpeed, in setParameter() 742 playbackRate->mSpeed, in setParameter() 800 fabs(playbackRate.mSpeed - mPlaybackRate.mSpeed) < AUDIO_TIMESTRETCH_SPEED_MIN_DELTA && in setPlaybackRate()
|
/frameworks/base/media/jni/ |
D | android_media_PlaybackParams.h | 84 audioRate.mSpeed = env->GetFloatField(params, fields.speed); in fillFromJobject() 103 env->SetFloatField(params, fields.speed, (jfloat)audioRate.mSpeed); in asJobject()
|
D | android_media_MediaSync.cpp | 326 pbs.speedSet, pbs.audioRate.mSpeed, in android_media_MediaSync_setPlaybackParams() 335 rate.mSpeed = pbs.audioRate.mSpeed; in android_media_MediaSync_setPlaybackParams() 378 audioRate.mSpeed, audioRate.mPitch, audioRate.mFallbackMode, audioRate.mStretchMode); in android_media_MediaSync_getPlaybackParams()
|
D | android_media_MediaPlayer.cpp | 442 pbp.speedSet, pbp.audioRate.mSpeed, in android_media_MediaPlayer_setPlaybackParams() 452 rate.mSpeed = pbp.audioRate.mSpeed; in android_media_MediaPlayer_setPlaybackParams() 491 audioRate.mSpeed, audioRate.mPitch, audioRate.mFallbackMode, audioRate.mStretchMode); in android_media_MediaPlayer_getPlaybackParams()
|
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 65 mPlaybackSettings.mSpeed = mPlaybackRate; in MediaSync() 164 if (mPlaybackSettings.mSpeed != 0.f in setAudioTrack() 429 updatePlaybackRate_l(rate.mSpeed); in setPlaybackSettings() 435 if (rate.mSpeed < 0.f || rate.mPitch < 0.f) { in setPlaybackSettings_l() 442 if (rate.mSpeed == 0.f) { in setPlaybackSettings_l()
|
D | AwesomePlayer.cpp | 2605 if ((rate.mSpeed != 0.f && rate.mSpeed < AUDIO_TIMESTRETCH_SPEED_MIN) in setPlaybackSettings() 2606 || rate.mSpeed > AUDIO_TIMESTRETCH_SPEED_MAX in setPlaybackSettings() 2613 if (rate.mSpeed == 0.f) { in setPlaybackSettings() 2621 newRate.mSpeed = mPlaybackSettings.mSpeed; in setPlaybackSettings() 2645 rate->mSpeed = 0.f; in getPlaybackSettings()
|
D | Utils.cpp | 957 msg->setFloat("speed", rate.mSpeed); in writeToAMessage() 965 CHECK(msg->findFloat("speed", &rate->mSpeed)); in readFromAMessage()
|
/frameworks/av/media/libmedia/ |
D | AudioTrack.cpp | 809 const float effectiveSpeed = adjustSpeed(playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate() 812 playbackRateTemp.mSpeed = effectiveSpeed; in setPlaybackRate() 820 ALOGV("setPlaybackRate(%f, %f) failed", playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate() 827 playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate() 833 playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate() 1233 mPlaybackRate.mSpeed); in createTrack_l() 1409 const float effectiveSpeed = adjustSpeed(mPlaybackRate.mSpeed, mPlaybackRate.mPitch); in createTrack_l() 1414 playbackRateTemp.mSpeed = effectiveSpeed; in createTrack_l() 1790 float speed = mPlaybackRate.mSpeed; in processAudioBuffer() 2261 / ((double)mSampleRate * mPlaybackRate.mSpeed); in getTimestamp() [all …]
|
D | mediaplayer.cpp | 407 rate.mSpeed, rate.mPitch, rate.mFallbackMode, rate.mStretchMode); in setPlaybackSettings() 410 if (rate.mSpeed < 0.f || rate.mPitch < 0.f) { in setPlaybackSettings() 417 if (rate.mSpeed == 0.f && mCurrentState == MEDIA_PLAYER_STARTED) { in setPlaybackSettings() 419 } else if (rate.mSpeed != 0.f && mCurrentState == MEDIA_PLAYER_PAUSED) { in setPlaybackSettings()
|
D | IMediaPlayer.cpp | 188 data.writeFloat(rate.mSpeed); in setPlaybackSettings() 204 rate->mSpeed = reply.readFloat(); in getPlaybackSettings() 513 rate.mSpeed = data.readFloat(); in onTransact() 526 reply->writeFloat(rate.mSpeed); in onTransact()
|
/frameworks/wilhelm/src/itf/ |
D | I3DDoppler.c | 51 thiz->mVelocitySpherical.mSpeed = speed; in I3DDoppler_SetVelocitySpherical()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 342 if ((rate.mSpeed != 0.f && rate.mSpeed < AUDIO_TIMESTRETCH_SPEED_MIN) in setPlaybackSettings() 343 || rate.mSpeed > AUDIO_TIMESTRETCH_SPEED_MAX in setPlaybackSettings() 720 if (rate.mSpeed == 0.f) { in onMessageReceived() 725 newRate.mSpeed = mPlaybackSettings.mSpeed; in onMessageReceived() 737 params->setFloat("operating-rate", rate * mPlaybackSettings.mSpeed); in onMessageReceived() 762 rate.mSpeed = 0.f; in onMessageReceived() 1524 format->setFloat("operating-rate", rate * mPlaybackSettings.mSpeed); in instantiateDecoder()
|
D | NuPlayerRenderer.cpp | 122 mPlaybackRate = mPlaybackSettings.mSpeed; in Renderer() 168 if (rate.mSpeed == 0.f) { in onConfigPlayback() 174 newRate.mSpeed = mPlaybackSettings.mSpeed; in onConfigPlayback() 186 mPlaybackRate = rate.mSpeed; in onConfigPlayback() 215 rate->mSpeed = 0.f; in onGetPlaybackSettings()
|
D | NuPlayerDriver.cpp | 368 if (rate.mSpeed == 0.f && mState == STATE_RUNNING) { in setPlaybackSettings() 373 } else if (rate.mSpeed != 0.f && mState == STATE_PAUSED) { in setPlaybackSettings()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 981 mConnId, rate.mSpeed, rate.mPitch, rate.mFallbackMode, rate.mStretchMode); in setPlaybackSettings() 994 mConnId, rate->mSpeed, rate->mPitch, rate->mFallbackMode, rate->mStretchMode); in getPlaybackSettings() 1738 mMsecsPerFrame = 1E3f / (mPlaybackRate.mSpeed * sampleRate); in open() 1915 rate.mSpeed, rate.mPitch, rate.mFallbackMode, rate.mStretchMode); in setPlaybackRate() 1927 CHECK_GT(rate.mSpeed, 0.f); in setPlaybackRate() 1930 mMsecsPerFrame = 1E3f / (rate.mSpeed * mSampleRateHz); in setPlaybackRate()
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 710 pbp.speedSet, pbp.audioRate.mSpeed, in android_media_AudioTrack_set_playback_params() 720 rate.mSpeed = pbp.audioRate.mSpeed; in android_media_AudioTrack_set_playback_params()
|