Home
last modified time | relevance | path

Searched refs:mPlaybackSettings (Results 1 – 10 of 10) 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.cpp108 mPlaybackSettings(AUDIO_PLAYBACK_RATE_DEFAULT), in Renderer()
137 mPlaybackRate = mPlaybackSettings.mSpeed; in Renderer()
200 newRate.mSpeed = mPlaybackSettings.mSpeed; in onConfigPlayback()
201 mPlaybackSettings = newRate; in onConfigPlayback()
211 mPlaybackSettings = rate; in onConfigPlayback()
234 if (!isAudioPlaybackRateEqual(*rate, mPlaybackSettings)) { in onGetPlaybackSettings()
239 mPlaybackSettings = *rate; in onGetPlaybackSettings()
246 *rate = mPlaybackSettings; in onGetPlaybackSettings()
1769 mAudioSink->setPlaybackRate(mPlaybackSettings); in onResume()
1940 err = mAudioSink->setPlaybackRate(mPlaybackSettings); in onOpenAudioSink()
[all …]
DNuPlayer.cpp198 mPlaybackSettings(AUDIO_PLAYBACK_RATE_DEFAULT), in NuPlayer()
861 mPlaybackSettings = rate; in onMessageReceived()
882 newRate.mSpeed = mPlaybackSettings.mSpeed; in onMessageReceived()
883 mPlaybackSettings = newRate; in onMessageReceived()
885 mPlaybackSettings = rate; in onMessageReceived()
901 params->setFloat("playback-speed", mPlaybackSettings.mSpeed); in onMessageReceived()
915 AudioPlaybackRate rate = mPlaybackSettings; in onMessageReceived()
923 mPlaybackSettings = rate; in onMessageReceived()
1580 && (mPlaybackSettings.mSpeed == 1.f && mPlaybackSettings.mPitch == 1.f); in onStart()
1601 status_t err = mRenderer->setPlaybackSettings(mPlaybackSettings); in onStart()
[all …]
DNuPlayerRenderer.h172 AudioPlaybackRate mPlaybackSettings; member
DNuPlayer.h233 AudioPlaybackRate mPlaybackSettings; member
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp107 mPlaybackSettings(AUDIO_PLAYBACK_RATE_DEFAULT), in Renderer()
136 mPlaybackRate = mPlaybackSettings.mSpeed; in Renderer()
199 newRate.mSpeed = mPlaybackSettings.mSpeed; in onConfigPlayback()
200 mPlaybackSettings = newRate; in onConfigPlayback()
210 mPlaybackSettings = rate; in onConfigPlayback()
233 if (!isAudioPlaybackRateEqual(*rate, mPlaybackSettings)) { in onGetPlaybackSettings()
238 mPlaybackSettings = *rate; in onGetPlaybackSettings()
245 *rate = mPlaybackSettings; in onGetPlaybackSettings()
1773 mAudioSink->setPlaybackRate(mPlaybackSettings); in onResume()
1938 err = mAudioSink->setPlaybackRate(mPlaybackSettings); in onOpenAudioSink()
[all …]
DNuPlayer2.cpp232 mPlaybackSettings(AUDIO_PLAYBACK_RATE_DEFAULT), in NuPlayer2()
1000 mPlaybackSettings = rate; in onMessageReceived()
1022 newRate.mSpeed = mPlaybackSettings.mSpeed; in onMessageReceived()
1023 mPlaybackSettings = newRate; in onMessageReceived()
1025 mPlaybackSettings = rate; in onMessageReceived()
1041 params->setFloat("playback-speed", mPlaybackSettings.mSpeed); in onMessageReceived()
1055 AudioPlaybackRate rate = mPlaybackSettings; in onMessageReceived()
1063 mPlaybackSettings = rate; in onMessageReceived()
1645 && (mPlaybackSettings.mSpeed == 1.f && mPlaybackSettings.mPitch == 1.f); in onStart()
1666 status_t err = mRenderer->setPlaybackSettings(mPlaybackSettings); in onStart()
[all …]
DNuPlayer2Renderer.h172 AudioPlaybackRate mPlaybackSettings; member
DNuPlayer2.h226 AudioPlaybackRate mPlaybackSettings; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSync.h226 AudioPlaybackRate mPlaybackSettings; variable