Home
last modified time | relevance | path

Searched refs:mSpeed (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/include/media/
DAudioResamplerPublic.h90 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/av/media/libaudioprocessing/include/media/
DAudioResamplerPublic.h90 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/session/
DPlaybackState.java287 private final float mSpeed; field in PlaybackState
301 mSpeed = speed; in PlaybackState()
314 mSpeed = in.readFloat(); in PlaybackState()
330 bob.append(", speed=").append(mSpeed); in toString()
349 dest.writeFloat(mSpeed); in writeToParcel()
405 return mSpeed; in getPlaybackSpeed()
664 private float mSpeed; field in PlaybackState.Builder
690 mSpeed = from.mSpeed; in Builder()
743 mSpeed = playbackSpeed; in setState()
916 return new PlaybackState(mState, mPosition, mUpdateTime, mSpeed, mBufferedPosition, in build()
/frameworks/base/media/java/android/media/
DPlaybackParams.java109 private float mSpeed = 1.0f; field in PlaybackParams
122 mSpeed = in.readFloat(); in PlaybackParams()
220 mSpeed = speed; in setSpeed()
234 return mSpeed; in getSpeed()
262 dest.writeFloat(mSpeed); in writeToParcel()
DRemoteController.java678 float mSpeed; field in RemoteController.PlaybackInfo
684 mSpeed = speed; in PlaybackInfo()
/frameworks/base/location/java/android/location/
DLocation.java143 private float mSpeed = 0.0f; field in Location
189 mSpeed = l.mSpeed; in set()
210 mSpeed = 0; in reset()
727 return mSpeed; in getSpeed()
736 mSpeed = speed; in setSpeed()
750 mSpeed = 0.0f; in removeSpeed()
1121 if (hasSpeed()) s.append(" vel=").append(mSpeed); in toString()
1155 l.mSpeed = in.readFloat();
1186 parcel.writeFloat(mSpeed); in writeToParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java49 private int mSpeed = Speed.NONE; field in TestAccessPointBuilder
101 bundle.putInt(AccessPoint.KEY_SPEED, mSpeed); in build()
160 mSpeed = speed; in setSpeed()
DAccessPoint.java243 @Speed private int mSpeed = Speed.NONE; field in AccessPoint
287 mSpeed = savedState.getInt(KEY_SPEED); in AccessPoint()
506 if (mSpeed != Speed.NONE) { in toString()
507 builder.append(",speed=").append(mSpeed); in toString()
591 int oldSpeed = mSpeed; in updateSpeed()
592 mSpeed = generateAverageSpeedForSsid(); in updateSpeed()
594 boolean changed = oldSpeed != mSpeed; in updateSpeed()
596 Log.i(TAG, String.format("%s: Set speed to %d", ssid, mSpeed)); in updateSpeed()
1350 savedState.putInt(KEY_SPEED, mSpeed); in saveWifiState()
1536 int getSpeed() { return mSpeed;} in getSpeed()
[all …]
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp422 this, channelCount, format, sampleRate, playbackRate.mSpeed, in TimestretchBufferProvider()
470 mBuffer.frameCount = mPlaybackRate.mSpeed == AUDIO_TIMESTRETCH_SPEED_NORMAL in getNextBuffer()
471 ? outputDesired : outputDesired * mPlaybackRate.mSpeed + 1; in getNextBuffer()
553 sonicSetSpeed(mSonicStream, mPlaybackRate.mSpeed); in setPlaybackRate()
573 const size_t targetSrc = *dstFrames * mPlaybackRate.mSpeed; in processFrames()
575 *dstFrames = *srcFrames / mPlaybackRate.mSpeed; in processFrames()
DAudioMixer.cpp448 playbackRate->mSpeed, playbackRate->mPitch); in setParameter()
452 playbackRate->mSpeed, in setParameter()
472 fabs(playbackRate.mSpeed - mPlaybackRate.mSpeed) < AUDIO_TIMESTRETCH_SPEED_MIN_DELTA && in setPlaybackRate()
/frameworks/base/media/jni/
Dandroid_media_PlaybackParams.h84 audioRate.mSpeed = env->GetFloatField(params, fields.speed); in fillFromJobject()
103 env->SetFloatField(params, fields.speed, (jfloat)audioRate.mSpeed); in asJobject()
Dandroid_media_MediaSync.cpp326 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()
Dandroid_media_MediaPlayer.cpp467 pbp.speedSet, pbp.audioRate.mSpeed, in android_media_MediaPlayer_setPlaybackParams()
477 rate.mSpeed = pbp.audioRate.mSpeed; in android_media_MediaPlayer_setPlaybackParams()
519 audioRate.mSpeed, audioRate.mPitch, audioRate.mFallbackMode, audioRate.mStretchMode); in android_media_MediaPlayer_getPlaybackParams()
/frameworks/av/media/libstagefright/
DMediaSync.cpp68 mPlaybackSettings.mSpeed = mPlaybackRate; in MediaSync()
167 if (mPlaybackSettings.mSpeed != 0.f in setAudioTrack()
432 updatePlaybackRate_l(rate.mSpeed); in setPlaybackSettings()
438 if (rate.mSpeed < 0.f || rate.mPitch < 0.f) { in setPlaybackSettings_l()
445 if (rate.mSpeed == 0.f) { in setPlaybackSettings_l()
DUtils.cpp2135 msg->setFloat("speed", rate.mSpeed); in writeToAMessage()
2143 CHECK(msg->findFloat("speed", &rate->mSpeed)); in readFromAMessage()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp989 __func__, mPortId, mSampleRate, playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate()
992 const float effectiveSpeed = adjustSpeed(playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate()
995 playbackRateTemp.mSpeed = effectiveSpeed; in setPlaybackRate()
1003 __func__, mPortId, playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate()
1009 __func__, mPortId, playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate()
1017 __func__, mPortId, playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate()
1023 __func__, mPortId, playbackRate.mSpeed, playbackRate.mPitch); in setPlaybackRate()
1062 / ((double)mSampleRate * mPlaybackRate.mSpeed)); in getBufferDurationInUs()
1461 max(mMaxRequiredSpeed, mPlaybackRate.mSpeed); in createTrack_l()
1600 const float effectiveSpeed = adjustSpeed(mPlaybackRate.mSpeed, mPlaybackRate.mPitch); in createTrack_l()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp403 if ((rate.mSpeed != 0.f && rate.mSpeed < AUDIO_TIMESTRETCH_SPEED_MIN) in setPlaybackSettings()
404 || rate.mSpeed > AUDIO_TIMESTRETCH_SPEED_MAX in setPlaybackSettings()
863 if (mOffloadAudio && ((rate.mSpeed != 0.f && rate.mSpeed != 1.f) in onMessageReceived()
887 if (rate.mSpeed == 0.f) { in onMessageReceived()
893 newRate.mSpeed = mPlaybackSettings.mSpeed; in onMessageReceived()
912 params->setFloat("playback-speed", mPlaybackSettings.mSpeed); in onMessageReceived()
936 rate.mSpeed = 0.f; in onMessageReceived()
1570 && (mPlaybackSettings.mSpeed == 1.f && mPlaybackSettings.mPitch == 1.f); in onStart()
1875 && (mPlaybackSettings.mSpeed == 1.f && mPlaybackSettings.mPitch == 1.f); in determineAudioModeChange()
1937 format->setFloat("operating-rate", rate * mPlaybackSettings.mSpeed); in instantiateDecoder()
DNuPlayerRenderer.cpp157 mPlaybackRate = mPlaybackSettings.mSpeed; in Renderer()
214 if (rate.mSpeed == 0.f) { in onConfigPlayback()
220 newRate.mSpeed = mPlaybackSettings.mSpeed; in onConfigPlayback()
232 mPlaybackRate = rate.mSpeed; in onConfigPlayback()
261 rate->mSpeed = 0.f; in onGetPlaybackSettings()
DNuPlayerDriver.cpp449 if (rate.mSpeed == 0.f && mState == STATE_RUNNING) { in setPlaybackSettings()
452 } else if (rate.mSpeed != 0.f in setPlaybackSettings()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp420 rate.mSpeed, rate.mPitch, rate.mFallbackMode, rate.mStretchMode); in setPlaybackSettings()
423 if (rate.mSpeed < 0.f || rate.mPitch < 0.f) { in setPlaybackSettings()
431 if (rate.mSpeed != 0.f && !(mCurrentState & MEDIA_PLAYER_STARTED) in setPlaybackSettings()
441 if (rate.mSpeed == 0.f && mCurrentState == MEDIA_PLAYER_STARTED) { in setPlaybackSettings()
443 } else if (rate.mSpeed != 0.f in setPlaybackSettings()
DIMediaPlayer.cpp241 data.writeFloat(rate.mSpeed); in setPlaybackSettings()
257 rate->mSpeed = reply.readFloat(); in getPlaybackSettings()
743 rate.mSpeed = data.readFloat(); in onTransact()
756 reply->writeFloat(rate.mSpeed); in onTransact()
/frameworks/wilhelm/src/itf/
DI3DDoppler.cpp51 thiz->mVelocitySpherical.mSpeed = speed; in I3DDoppler_SetVelocitySpherical()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1108 mConnId, rate.mSpeed, rate.mPitch, rate.mFallbackMode, rate.mStretchMode); in setPlaybackSettings()
1121 mConnId, rate->mSpeed, rate->mPitch, rate->mFallbackMode, rate->mStretchMode); in getPlaybackSettings()
2014 std::min(std::max(mPlaybackRate.mSpeed, 1.0f), kMaxRequiredSpeed); in open()
2015 ALOGW_IF(targetSpeed != mPlaybackRate.mSpeed, in open()
2017 targetSpeed, mPlaybackRate.mSpeed); in open()
2107 mMsecsPerFrame = 1E3f / (mPlaybackRate.mSpeed * sampleRate); in open()
2296 rate.mSpeed, rate.mPitch, rate.mFallbackMode, rate.mStretchMode); in setPlaybackRate()
2308 CHECK_GT(rate.mSpeed, 0.f); in setPlaybackRate()
2311 mMsecsPerFrame = 1E3f / (rate.mSpeed * mSampleRateHz); in setPlaybackRate()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp823 pbp.speedSet, pbp.audioRate.mSpeed, in android_media_AudioTrack_set_playback_params()
833 rate.mSpeed = pbp.audioRate.mSpeed; in android_media_AudioTrack_set_playback_params()
/frameworks/wilhelm/src/
Ditfstruct.h103 SLmillidegree mSpeed; member

12