Searched refs:playbackRate (Results 1 - 9 of 9) sorted by relevance
/frameworks/av/include/media/ |
H A D | AudioResamplerPublic.h | 111 static inline bool isAudioPlaybackRateValid(const AudioPlaybackRate &playbackRate) { argument 112 if (playbackRate.mFallbackMode == AUDIO_TIMESTRETCH_FALLBACK_FAIL && 113 (playbackRate.mStretchMode == AUDIO_TIMESTRETCH_STRETCH_SPEECH || 114 playbackRate.mStretchMode == AUDIO_TIMESTRETCH_STRETCH_DEFAULT)) { 116 return playbackRate.mSpeed >= TIMESTRETCH_SONIC_SPEED_MIN && 117 playbackRate.mSpeed <= TIMESTRETCH_SONIC_SPEED_MAX && 118 playbackRate.mPitch >= AUDIO_TIMESTRETCH_PITCH_MIN && 119 playbackRate.mPitch <= AUDIO_TIMESTRETCH_PITCH_MAX; 121 return playbackRate.mSpeed >= AUDIO_TIMESTRETCH_SPEED_MIN && 122 playbackRate [all...] |
H A D | AudioTrack.h | 452 status_t setPlaybackRate(const AudioPlaybackRate &playbackRate);
|
/frameworks/av/services/audioflinger/ |
H A D | BufferProviders.cpp | 325 audio_format_t format, uint32_t sampleRate, const AudioPlaybackRate &playbackRate) : 340 setPlaybackRate(playbackRate); 342 this, channelCount, format, sampleRate, playbackRate.mSpeed, 343 playbackRate.mPitch, playbackRate.mStretchMode, playbackRate.mFallbackMode); 459 status_t TimestretchBufferProvider::setPlaybackRate(const AudioPlaybackRate &playbackRate) argument 461 mPlaybackRate = playbackRate; 324 TimestretchBufferProvider(int32_t channelCount, audio_format_t format, uint32_t sampleRate, const AudioPlaybackRate &playbackRate) argument
|
H A D | BufferProviders.h | 155 const AudioPlaybackRate &playbackRate); 165 virtual status_t setPlaybackRate(const AudioPlaybackRate &playbackRate);
|
H A D | AudioMixer.cpp | 732 const AudioPlaybackRate *playbackRate = local 734 ALOGW_IF(!isAudioPlaybackRateValid(*playbackRate), 735 "bad parameters speed %f, pitch %f",playbackRate->mSpeed, 736 playbackRate->mPitch); 737 if (track.setPlaybackRate(*playbackRate)) { 740 playbackRate->mSpeed, 741 playbackRate->mPitch, 742 playbackRate->mStretchMode, 743 playbackRate->mFallbackMode); 794 bool AudioMixer::track_t::setPlaybackRate(const AudioPlaybackRate &playbackRate) argument [all...] |
H A D | AudioMixer.h | 277 bool setPlaybackRate(const AudioPlaybackRate &playbackRate);
|
H A D | Threads.cpp | 4215 AudioPlaybackRate playbackRate = track->mAudioTrackServerProxy->getPlaybackRate(); local 4218 sampleRate, mNormalFrameCount, mSampleRate, playbackRate.mSpeed); 4387 AudioPlaybackRate playbackRate = track->mAudioTrackServerProxy->getPlaybackRate(); local 4392 &playbackRate);
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 853 status_t AudioTrack::setPlaybackRate(const AudioPlaybackRate &playbackRate) argument 856 if (isAudioPlaybackRateEqual(playbackRate, mPlaybackRate)) { 867 mSampleRate, playbackRate.mSpeed, playbackRate.mPitch); 869 const uint32_t effectiveRate = adjustSampleRate(mSampleRate, playbackRate.mPitch); 870 const float effectiveSpeed = adjustSpeed(playbackRate.mSpeed, playbackRate.mPitch); 871 const float effectivePitch = adjustPitch(playbackRate.mPitch); 872 AudioPlaybackRate playbackRateTemp = playbackRate; 881 playbackRate [all...] |
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 382 void setPlaybackRate(const AudioPlaybackRate& playbackRate) { argument 383 mPlaybackRateMutator.push(playbackRate);
|
Completed in 114 milliseconds