Lines Matching refs:mPlayer
249 mPlayer(0), in GenericMediaPlayer()
308 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0)) { in setVideoSurfaceTexture()
309 mPlayer->setVideoSurfaceTexture(bufferProducer); in setVideoSurfaceTexture()
336 if (!(mStateFlags & (kFlagPrepared | kFlagPreparedUnsuccessfully)) && (mPlayer != 0)) { in onPrepare()
339 mPlayer->setVideoSurfaceTexture(mVideoSurfaceTexture); in onPrepare()
342 mPlayer->setAudioStreamType(mPlaybackParams.streamType); in onPrepare()
344 mPlayer->prepareAsync(); in onPrepare()
359 if (((mStateFlags & (kFlagPrepared | kFlagPlaying)) == kFlagPrepared) && (mPlayer != 0)) { in onPlay()
360 mPlayer->start(); in onPlay()
368 if (!(~mStateFlags & (kFlagPrepared | kFlagPlaying)) && (mPlayer != 0)) { in onPause()
369 mPlayer->pause(); in onPause()
412 if (mPlayer != 0) { in onSeek()
420 } else if (OK != mPlayer->seekTo(timeMsec)) { in onSeek()
440 if (mPlayer != 0) { in onLoop()
441 (void) mPlayer->setLooping(loop); in onLoop()
449 if (mPlayer != 0) { in onVolumeUpdate()
452 mPlayer->setVolume(mAndroidAudioLevels.mFinalVolume[0], in onVolumeUpdate()
462 if (mPlayer != 0) { in onAttachAuxEffect()
464 status = mPlayer->attachAuxEffect(effectId); in onAttachAuxEffect()
476 if (mPlayer != 0) { in onSetAuxEffectSendLevel()
478 status = mPlayer->setAuxEffectSendLevel(level); in onSetAuxEffectSendLevel()
500 if ((mStateFlags & kFlagPrepared) && (mPlayer != 0) in onBufferingUpdate()
501 && (OK == mPlayer->getDuration(&durationMsec)) in onBufferingUpdate()
502 && (OK == mPlayer->getCurrentPosition(&positionMsec))) { in onBufferingUpdate()
540 assert(mPlayer != 0); in afterMediaPlayerPreparedSuccessfully()
546 mPreparedPlayer = mPlayer; in afterMediaPlayerPreparedSuccessfully()
551 status_t status = mPlayer->getParameter(KEY_PARAMETER_AUDIO_CHANNEL_COUNT, reply); in afterMediaPlayerPreparedSuccessfully()
568 if (OK == mPlayer->getDuration(&msec)) { in afterMediaPlayerPreparedSuccessfully()
575 (void) mPlayer->setLooping(1); in afterMediaPlayerPreparedSuccessfully()
598 mPlayer->setParameter(KEY_PARAMETER_PLAYBACK_RATE_PERMILLE, rateParcel); in afterMediaPlayerPreparedSuccessfully()