Home | History | Annotate | Download | only in libmedia

Lines Matching full:mplayer

80         p = mPlayer;
81 mPlayer.clear();
121 p = mPlayer;
122 mPlayer = player;
195 if ((mPlayer != NULL) && hasBeenInitialized) {
197 return mPlayer->invoke(request, reply);
207 if (mPlayer == NULL) {
210 return mPlayer->setMetadataFilter(filter);
217 if (mPlayer == NULL) {
220 return mPlayer->getMetadata(update_only, apply_filter, metadata);
228 if (mPlayer == 0) return NO_INIT;
229 return mPlayer->setVideoSurfaceTexture(bufferProducer);
235 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) {
236 mPlayer->setAudioStreamType(mStreamType);
238 return mPlayer->prepareAsync();
286 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_PREPARED |
288 mPlayer->setLooping(mLoop);
289 mPlayer->setVolume(mLeftVolume, mRightVolume);
290 mPlayer->setAuxEffectSendLevel(mSendLevel);
292 status_t ret = mPlayer->start();
311 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_STARTED | MEDIA_PLAYER_PREPARED |
313 status_t ret = mPlayer->stop();
331 if ((mPlayer != 0) && (mCurrentState & MEDIA_PLAYER_STARTED)) {
332 status_t ret = mPlayer->pause();
347 if (mPlayer != 0) {
349 mPlayer->isPlaying(&temp);
365 if (mPlayer == 0) return INVALID_OPERATION;
374 if (mPlayer == 0) return INVALID_OPERATION;
383 if (mPlayer != 0) {
389 return mPlayer->getCurrentPosition(msec);
398 if (mPlayer != 0 && isValidState) {
400 status_t ret = mPlayer->getDuration(&durationMs);
426 if ((mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_STARTED | MEDIA_PLAYER_PREPARED | MEDIA_PLAYER_PAUSED | MEDIA_PLAYER_PLAYBACK_COMPLETE) ) ) {
433 status_t err = mPlayer->getDuration(&durationMs);
453 return mPlayer->seekTo(msec);
460 ALOGE("Attempt to perform seekTo in wrong state: mPlayer=%p, mCurrentState=%u", mPlayer.get(), mCurrentState);
479 if (mPlayer != 0) {
480 status_t ret = mPlayer->reset();
489 mPlayer = 0;
538 if (mPlayer != 0) {
539 return mPlayer->setLooping(loop);
547 if (mPlayer != 0) {
560 if (mPlayer != 0) {
561 return mPlayer->setVolume(leftVolume, rightVolume);
596 if (mPlayer != 0) {
597 return mPlayer->setAuxEffectSendLevel(level);
606 if (mPlayer == 0 ||
613 return mPlayer->attachAuxEffect(effectId);
620 if (mPlayer != NULL) {
621 return mPlayer->setParameter(key, request);
631 if (mPlayer != NULL) {
632 return mPlayer->getParameter(key, reply);
644 if ((mPlayer != NULL) || (mCurrentState != MEDIA_PLAYER_IDLE))
686 if (!(msg == MEDIA_ERROR && mCurrentState == MEDIA_PLAYER_IDLE) && mPlayer == 0) {
822 if (mPlayer == NULL) {
832 return mPlayer->setNextPlayer(next == NULL ? NULL : next->mPlayer);