Home
last modified time | relevance | path

Searched refs:mPlaybackSettings (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaSync.cpp67 mPlaybackSettings = AUDIO_PLAYBACK_RATE_DEFAULT; in MediaSync()
68 mPlaybackSettings.mSpeed = mPlaybackRate; in MediaSync()
167 if (mPlaybackSettings.mSpeed != 0.f in setAudioTrack()
168 && audioTrack->setPlaybackRate(mPlaybackSettings) != OK) { in setAudioTrack()
179 (void)setPlaybackSettings_l(mPlaybackSettings); in setAudioTrack()
457 mPlaybackSettings = rate; in setPlaybackSettings_l()
463 *rate = mPlaybackSettings; in getPlaybackSettings()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp128 mPlaybackSettings(AUDIO_PLAYBACK_RATE_DEFAULT), in Renderer()
157 mPlaybackRate = mPlaybackSettings.mSpeed; in Renderer()
220 newRate.mSpeed = mPlaybackSettings.mSpeed; in onConfigPlayback()
221 mPlaybackSettings = newRate; in onConfigPlayback()
231 mPlaybackSettings = rate; in onConfigPlayback()
254 if (!isAudioPlaybackRateEqual(*rate, mPlaybackSettings)) { in onGetPlaybackSettings()
259 mPlaybackSettings = *rate; in onGetPlaybackSettings()
266 *rate = mPlaybackSettings; in onGetPlaybackSettings()
1808 mAudioSink->setPlaybackRate(mPlaybackSettings); in onResume()
1984 err = mAudioSink->setPlaybackRate(mPlaybackSettings); in onOpenAudioSink()
[all …]
DNuPlayer.cpp198 mPlaybackSettings(AUDIO_PLAYBACK_RATE_DEFAULT), in NuPlayer()
872 mPlaybackSettings = rate; in onMessageReceived()
893 newRate.mSpeed = mPlaybackSettings.mSpeed; in onMessageReceived()
894 mPlaybackSettings = newRate; in onMessageReceived()
896 mPlaybackSettings = rate; in onMessageReceived()
912 params->setFloat("playback-speed", mPlaybackSettings.mSpeed); in onMessageReceived()
926 AudioPlaybackRate rate = mPlaybackSettings; in onMessageReceived()
934 mPlaybackSettings = rate; in onMessageReceived()
1570 && (mPlaybackSettings.mSpeed == 1.f && mPlaybackSettings.mPitch == 1.f); in onStart()
1591 status_t err = mRenderer->setPlaybackSettings(mPlaybackSettings); in onStart()
[all …]
DNuPlayerRenderer.h172 AudioPlaybackRate mPlaybackSettings; member
DNuPlayer.h233 AudioPlaybackRate mPlaybackSettings; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSync.h226 AudioPlaybackRate mPlaybackSettings; variable